XSIMaterialInfo.h

Go to the documentation of this file.
00001 //***************************************************************************************
00002 // File supervisor: Crosswalk team
00012 //***************************************************************************************
00013 
00014 #ifndef _XSIMATERIALINFO_H
00015 #define _XSIMATERIALINFO_H
00016 
00017 #include "Template.h"
00018 
00019 class CSLXSIMaterial;
00020 
00027 class XSIEXPORT CSLXSIMaterialInfo
00028     : public CSLTemplate
00029 {
00030 public:
00031 
00033     enum EWrapType
00034     {
00035         SI_CLAMP,   
00036         SI_REPEAT   
00037     };
00038 
00044     CSLXSIMaterialInfo(CSLScene* in_pScene, CSLModel *in_pModel, CdotXSITemplate* in_pTemplate);
00045 
00047     virtual ~CSLXSIMaterialInfo();
00048 
00052     ETemplateType Type(){ return XSI_MATERIAL_INFO; }
00053 
00054     virtual CSLAnimatableType* ParameterFromName(SI_Char *in_szName);
00055 
00059     EWrapType GetUWrap();
00060 
00064     SI_Void SetUWrap( EWrapType in_Type );
00065 
00069     EWrapType GetVWrap();
00070 
00074     SI_Void SetVWrap( EWrapType in_Type );
00075 
00076 private:
00077     CSLEnumProxy<EWrapType, SI_REPEAT> m_UWrap;
00078     CSLEnumProxy<EWrapType, SI_REPEAT> m_VWrap;
00079 
00080     SI_Void *m_pReserved;
00081 };
00082 
00083 #endif