fbsdk/fbtexture.h File Reference

fbtexture.h File Reference
#include <kaydaradef.h>
#include <fbsdk/fbcomponent.h>
#include <fbsdk/fbcore.h>
#include <fbsdk/fbproperties.h>
#include <fbsdk/fbvideo.h>

Classes

class  FBTexture
 
class  FBPropertyListTexture
 PropertyList: Texture More...
 
class  FBLayeredTexture
 LayeredTexture class. More...
 

Namespaces

 ORSDK2018
 

Macros

#define FBSDK_DLL   K_DLLIMPORT
 Be sure that FBSDK_DLL is defined only once... More...
 
#define FBStorableCustomTextureImplementation(ClassName, Type)
 Custom Storeable Texture Class implementation. More...
 

Typedefs

typedef class FBPropertyBaseEnum< enum FBTextureUseType > FBPropertyTextureUseType
 
typedef class FBPropertyBaseEnum< enum FBTextureMapping > FBPropertyTextureMapping
 
typedef class FBPropertyBaseEnum< enum FBTextureBlendMode > FBPropertyTextureBlendMode
 
typedef class FBPropertyBase< FBTexture *, kFBPT_object > FBPropertyBaseTexture
 
typedef class FBPropertyBaseComponent< FBTexture * > FBPropertyTexture
 

Enumerations

enum  FBTextureUseType {
  kFBTextureUseAll, kFBTextureUseColor, kFBTextureUseShadowMap, kFBTextureUseLightMap,
  kFBTextureUseSphericalReflexionMap, kFBTextureUseSphereReflexionMap, kFBTextureUseBumpNormalMap
}
 Texture Use Type. More...
 
enum  FBTextureMapping {
  kFBTextureNoMapping, kFBTextureMappingUV, kFBTextureMappingXY, kFBTextureMappingYZ,
  kFBTextureMappingXZ, kFBTextureMappingSpherical, kFBTextureMappingCylindrical, kFBTextureMappingEnvironment,
  kFBTextureMappingProjection
}
 Texture mapping modes. More...
 
enum  FBTextureBlendMode { kFBTextureBlendTranslucent, kFBTextureBlendAdditive, kFBTextureBlendModulate, kFBTextureBlendModulate2 }
 Texture blend modes. More...
 

Macro Definition Documentation

#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 
)
Value:
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();}\
#define NULL
Definition: kaydara.h:169

Custom Storeable Texture Class implementation.

(only LayeredTexture is supported for now).

+ Examples:

Definition at line 225 of file fbtexture.h.

Go to the source code of this file.