#include
<kaydaradef.h>
#include <fbsdk/fbshader.h>
#include <fbcontrols/fbcontrols.h>
Go to the source code of this file.
Classes |
|
class | FBShaderLayout |
Shader layout class. More... |
|
Defines |
|
#define | FBSDK_DLL K_DLLIMPORT |
Be sure that FBSDK_DLL is defined only
once... |
|
#define | FBRegisterShaderLayout(ClassName, UniqueNameStr, IconFilename) |
Register a Shader layout class. |
|
#define | FBShaderLayoutDeclare(ClassName, Parent) |
Shader layout declaration. |
|
#define | FBShaderLayoutImplementation(ThisComponent) FBClassImplementation( ThisComponent ) |
Shader layout implementation. |
|
Functions |
|
__FB_FORWARD (FBShaderLayout) | |
FB_DEFINE_COMPONENT (FBSDK_DLL, ShaderLayout) |
FBShader layout file.
Definition in file fbshaderlayout.h.
#define FBSDK_DLL K_DLLIMPORT |
Be sure that FBSDK_DLL is defined only once...
Definition at line 48 of file fbshaderlayout.h.
#define FBRegisterShaderLayout | ( | ClassName, | |
UniqueNameStr, | |||
IconFilename | |||
) |
HIObject RegisterShaderLayout##ClassName( HIObject /*pOwner*/,char * /*pName*/,void *pData) \ {\ ClassName *Class = new ClassName( (HFBShader)FBGetFBComponent((HIObject)pData) ); \ Class->mAllocated = true; \ if (Class->FBCreate()) { \ return Class->GetHIObject(); \ } else { \ delete Class; \ return NULL; \ } \ } \ FBLibraryModule( ClassName ) \ { \ FBRegisterObject( ClassName,"renderer/usershader/ui",UniqueNameStr,UniqueNameStr" Shader Layout",RegisterShaderLayout##ClassName, true, IconFilename ); \ }
Register a Shader layout class.
ClassName | Name of Shader layout class. |
UniqueNameStr | Unique name of class. |
IconFilename | Filename of associated icon. |
Definition at line 67 of file fbshaderlayout.h.
#define FBShaderLayoutDeclare | ( | ClassName, | |
Parent | |||
) |
FBClassDeclare( ClassName,Parent ); \ public: \ ClassName(HFBShader pShader):Parent(pShader) { FBClassInit; } \ private:
Shader layout declaration.
ClassName | Name of Shader layout class. |
Parent | Parent of Shader layout class. |
Definition at line 88 of file fbshaderlayout.h.
#define FBShaderLayoutImplementation | ( | ThisComponent | ) | FBClassImplementation( ThisComponent ) |
Shader layout implementation.
ThisComponent | Name of Shader layout class to implement. |
Definition at line 97 of file fbshaderlayout.h.
__FB_FORWARD | ( | FBShaderLayout | ) |
FB_DEFINE_COMPONENT | ( | FBSDK_DLL | , |
ShaderLayout | |||
) |