ShaderConnectionPoint.h

Go to the documentation of this file.
00001 //***************************************************************************************
00002 // File supervisor: Crosswalk team
00012 //***************************************************************************************
00013 
00014 #ifndef _SHADERCONENCTIONPOINT_H
00015 #define _SHADERCONENCTIONPOINT_H
00016 
00017 #include "ConnectionPoint.h"
00018 
00021 class XSIEXPORT CSLShaderConnectionPoint
00022     : public CSLConnectionPoint
00023 {
00024 public:
00029     CSLShaderConnectionPoint
00030     (
00031         CdotXSITemplate *in_pTemplate,
00032         SI_Int in_nValueIndex
00033     );
00034 
00036     virtual ~CSLShaderConnectionPoint();
00037 
00039     enum EConnectionType
00040     {
00041         SI_SHADER,  
00042         SI_IMAGE,   
00043         SI_NONE,    
00044     };
00045 
00049     EConnectionType GetConnectionType();
00050 
00055     SI_Error SetImage( SI_Char* in_szName );
00056 
00060     SI_Char* GetImage();
00061 
00062     virtual SI_Error Synchronize();
00063 
00064 private:
00065     CSLStringProxy m_ConnectionType;
00066     CSIBCString m_ImageName;
00067 };
00068 
00069 #endif