1 #ifndef __FBTEXTURE_H__ 2 #define __FBTEXTURE_H__ 43 #include <kaydaradef.h> 48 #define FBSDK_DLL K_DLLIMPORT 56 #ifdef FBSDKUseNamespace 70 enum FBTextureUseType {
73 kFBTextureUseShadowMap,
74 kFBTextureUseLightMap,
75 kFBTextureUseSphericalReflexionMap,
76 kFBTextureUseSphereReflexionMap,
77 kFBTextureUseBumpNormalMap
83 enum FBTextureMapping {
89 kFBTextureMappingSpherical,
90 kFBTextureMappingCylindrical,
91 kFBTextureMappingEnvironment,
92 kFBTextureMappingProjection
98 enum FBTextureBlendMode {
99 kFBTextureBlendTranslucent,
100 kFBTextureBlendAdditive,
101 kFBTextureBlendModulate,
102 kFBTextureBlendModulate2,
123 FBTexture(
const char* pName, HIObject pObject=NULL);
124 virtual void FBDelete();
149 unsigned int GetTextureObject();
197 virtual void FBDelete();
214 virtual void TextureLayerComposition(
FBTime pTime,
FBTime pTimeInCurrentTimeRef,
int pWidth,
int pHeight);
217 void SetLayerConfigDirty();
225 #define FBStorableCustomTextureImplementation(ClassName, Type)\ 226 const char* ClassName::FbxGetObjectSubType(){ return #ClassName; }\ 227 HIObject RegisterStorable##ClassName##Create(HIObject , const char* pName, void* ){\ 228 ClassName* Class = new ClassName(pName);\ 229 Class->mAllocated = true;\ 230 if( Class->FBCreate() ){\ 231 return Class->GetHIObject();\ 235 FBLibraryModule(ClassName##Storable){\ 236 FBString lGroup = "FbxStorable/";\ 238 FBRegisterObject(ClassName##R2, lGroup, #ClassName, "", RegisterStorable##ClassName##Create, true, NULL);\ 239 FBSetStoreableCustomTextureRegistered();}\ 242 #ifdef FBSDKUseNamespace #define __FBClassDeclare(Name, Parent)
For internal use only.
FBPropertyTextureMapping Mapping
Read Write Property: Texture mapping.
PropertyList: Concrete class for PropertyList of component
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
FBPropertyBool TakeBased
Read Write Property: A video is linked to a take, changing the take will change the connected video...
FBPropertyBool SwapUV
Read Write Property: Swap UV coordinates?
FBPropertyAnimatableColorAndAlpha BackgroundColor
Read/Write Property: Animatable Background color which is used to clear color buffer before compositi...
FBVideo and derivative classes.
FBPropertyInt Width
Read Only Property: Width of texture.
Contains definitions for devices, boxes and models.
FBPropertyInt Height
Read Only Property: Height of texture.
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
FBPropertyListTexture Layers
Read/Write Property: Textures Layers.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
FBPropertyAnimatableVector3d Translation
Read Write Property: Translation coordinates.
FBPropertyInt TextureOGLId
Read Only: OpenGL texture buffer object Id.
#define FBSDKNamespace
FBSDKNamespace define.
class K_DLLIMPORT FBPropertyBaseAnimatable< FBColorAndAlpha, kFBPT_ColorRGBA > FBPropertyAnimatableColorAndAlpha
FBPropertyAnimatableColorAndAlpha type definition.
class K_DLLIMPORT FBPropertyBaseAnimatable< FBVector3d, kFBPT_Vector3D > FBPropertyAnimatableVector3d
FBPropertyAnimatableVector3D type definition.
FBPropertyAnimatableVector3d Scaling
Read Write Property: Scaling coordinates.
FBPropertyTextureUseType UseType
Read Write Property: Texture Use Type.
A box is a fundamental building block in the application architecture.
FBPropertyTextureBlendMode BlendMode
Read Write Property: Texture blend mode.
FBPropertyAnimatableVector3d Rotation
Read Write Property: Rotation coordinates.
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
class K_DLLIMPORT FBPropertyBaseAnimatable< double, kFBPT_double > FBPropertyAnimatableDouble
FBPropertyBaseAnimatableDouble type definition.
FBPropertyVideo Video
Read Write Property: Media used for texturing.
class K_DLLIMPORT FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
MotionBuilder SDK base class.
FBPropertyAnimatableDouble Alpha
Read Write Property: Texture alpha value.