# ShaderConnectionPoint.h

    00001 //***************************************************************************************
    00002 //
    00003 // File supervisor: Crosswalk team
    00004 //
    00005 // Copyright 2008 Autodesk, Inc.  All rights reserved.
    00006 // Use of this software is subject to the terms of the Autodesk license agreement
    00007 // provided at the time of installation or download, or which otherwise accompanies
    00008 // this software in either electronic or hard copy form.
    00009 //
    00010 //***************************************************************************************
    00011
    00012 #ifndef _SHADERCONENCTIONPOINT_H
    00013 #define _SHADERCONENCTIONPOINT_H
    00014
    00015 #include "ConnectionPoint.h"
    00016
    00019 class XSIEXPORT CSLShaderConnectionPoint
    00020     : public CSLConnectionPoint
    00021 {
    00022 public:
    00027     CSLShaderConnectionPoint
    00028     (
    00029         CdotXSITemplate *in_pTemplate,
    00030         SI_Int in_nValueIndex
    00031     );
    00032
    00034     virtual ~CSLShaderConnectionPoint();
    00035
    00037     enum EConnectionType
    00038     {
    00039         SI_SHADER,
    00040         SI_IMAGE,
    00041         SI_NONE,
    00042     };
    00043
    00047     EConnectionType GetConnectionType();
    00048
    00053     SI_Error SetImage( SI_Char* in_szName );
    00054
    00058     SI_Char* GetImage();
    00059
    00060     virtual SI_Error Synchronize();
    00061
    00062 private:
    00063     CSLStringProxy m_ConnectionType;
    00064     CSIBCString m_ImageName;
    00065 };
    00066
    00067 #endif