00001 /********************************************************************** 00002 *< 00003 FILE: IRTShaderParameterBinding.h 00004 00005 DESCRIPTION: Interface to allow Render Nodes to set parameter values to the underlying graphics 00006 subsystem 00007 00008 CREATED BY: Neil Hazzard 00009 00010 HISTORY: created March 8th, 2007 00011 00012 *> Copyright (c) 2007, All Rights Reserved. 00013 **********************************************************************/ 00014 #pragma once 00015 00016 #include "baseinterface.h" 00017 #include "strbasic.h" 00018 00019 #define IRTSHADERPARAMETERBINDING_INTERFACE_ID Interface_ID(0x543218fa, 0x7a353bd1) 00020 00022 00044 class IRTShaderParameterBinding: public BaseInterface 00045 { 00046 public: 00047 virtual Interface_ID GetID() { return IRTSHADERPARAMETERBINDING_INTERFACE_ID; } 00053 virtual void BindParameter(const MCHAR * paramName, LPVOID value) =0 ; 00054 00061 virtual void BindParameter(const TimeValue t, const MCHAR * paramName, LPVOID value) =0 ; 00062 00066 virtual void InitializeBinding() = 0 ; 00067 };