This reference page is linked to from the following overview topics: FBMaterial and FBTexture - Materials and Textures.
#include <kaydaradef.h>
#include <fbsdk/fbcomponent.h>
#include <fbsdk/fbcore.h>
#include <fbsdk/fbproperties.h>
#include <fbsdk/fbvideo.h>
#define FBSDK_DLL K_DLLIMPORT |
Be sure that FBSDK_DLL is defined only once...
Definition at line 48 of file fbtexture.h.
#define FBStorableCustomTextureImplementation | ( | ClassName, | |
Type | |||
) |
const char* ClassName::FbxGetObjectSubType(){ return #ClassName; }\ HIObject RegisterStorable##ClassName##Create(HIObject /*pOwner*/, const char* pName, void* /*pData*/){\ ClassName* Class = new ClassName(pName);\ Class->mAllocated = true;\ if( Class->FBCreate() ){\ return Class->GetHIObject();\ } else {\ delete Class;\ return NULL;}}\ FBLibraryModule(ClassName##Storable){\ FBString lGroup = "FbxStorable/";\ lGroup += #Type;\ FBRegisterObject(ClassName##R2, lGroup, #ClassName, "", RegisterStorable##ClassName##Create, true, NULL);\ FBSetStoreableCustomTextureRegistered();}\
Custom Storeable Texture Class implementation.
(only LayeredTexture is supported for now).
Definition at line 225 of file fbtexture.h.
enum FBTextureUseType |
Texture Use Type.
How the texture is used.
Definition at line 70 of file fbtexture.h.
enum FBTextureMapping |
Texture mapping modes.
How the texture is mapped.
Definition at line 83 of file fbtexture.h.
enum FBTextureBlendMode |
Texture blend modes.
How the texture is blended with another.
kFBTextureBlendTranslucent |
Layer transparency. |
kFBTextureBlendAdditive |
Layer addition. |
kFBTextureBlendModulate |
Layer multiplication. |
kFBTextureBlendModulate2 |
Layer multiplication + brightness. |
Definition at line 98 of file fbtexture.h.
__FB_FORWARD | ( | FBTexture | ) |
FB_DEFINE_ENUM | ( | K_DLLIMPORT | , |
TextureUseType | |||
) |
FB_DEFINE_ENUM | ( | K_DLLIMPORT | , |
TextureMapping | |||
) |
FB_DEFINE_ENUM | ( | K_DLLIMPORT | , |
TextureBlendMode | |||
) |
FB_FORWARD | ( | FBRenderOptions | ) |
Texture class.
FB_DEFINE_COMPONENT | ( | K_DLLIMPORT | , |
Texture | |||
) |
__FB_FORWARD | ( | FBLayeredTexture | ) |