Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

RmD3DHLSLIncludeInterface Class Reference

#include <RmGfxUtilD3D.h>

List of all members.

Public Member Functions

 RmD3DHLSLIncludeInterface ()
 Constructor.

 ~RmD3DHLSLIncludeInterface ()
 Destructor.

void SetIncludePath (RmStringT &strIncludePath)
void SetCompiledShader (RmShader *pShader)

Public Attributes

STDMETHOD( Open )(D3DXINCLUDE_TYPE IncludeType, LPCSTR pFileName, LPCVOID pParentData, LPCVOID *ppData, UINT *pBytes)
STDMETHOD( Close )(LPCVOID pData)


Detailed Description

Description: Class for handling opening and closing of shader files for DirectX HLSL include interface


Member Function Documentation

void RmD3DHLSLIncludeInterface::SetCompiledShader RmShader pShader  )  [inline]
 

Set compiled shader

Parameters:
pShader Shader to compile
Returns:
None

void RmD3DHLSLIncludeInterface::SetIncludePath RmStringT &  strIncludePath  ) 
 

Set include path

Parameters:
strIncludePath Path to include
Returns:
None


Member Data Documentation

STDMETHOD( RmD3DHLSLIncludeInterface::Close)(LPCVOID pData)
 

Method for closing a shader #include file

Parameters:
pData Data to close
Returns:
HRESULT type

STDMETHOD( RmD3DHLSLIncludeInterface::Open)( D3DXINCLUDE_TYPE IncludeType, LPCSTR pFileName, LPCVOID pParentData, LPCVOID *ppData, UINT *pBytes )
 

Method for opening and reading the contents of a shader #include file.

Parameters:
IncludeType Include type
pFile Filename
pParentData ParentData
ppData Data to retrieve
pBytes Number of bytes
Returns:
HRESULT type


The documentation for this class was generated from the following file:
Generated on Fri Feb 25 16:08:57 2005 for RenderMonkey SDK by doxygen 1.3.6