![]() |
RenderMan API
23.0
|
A generic way to interrogate shaders on disk about their parameters. More...
#include <RixShaderInfo.h>
Public Member Functions | |
virtual RixShaderQuery * | CreateQuery (void)=0 |
A RixShaderQuery factory, callers are responsible for deleting the returned object when they are done with it. More... | |
![]() | |
virtual int | GetVersion () const |
Protected Member Functions | |
RixShaderInfo () | |
![]() | |
RixInterface (int version) | |
Interfaces should not be constructed by users. More... | |
virtual | ~RixInterface () |
Interfaces should not be deleted by users. More... | |
Additional Inherited Members | |
![]() | |
enum | Type { k_Float, k_Integer, k_StringV, k_Color, k_Normal, k_Vector, k_Point, k_HPoint, k_MPoint, k_Matrix } |
![]() | |
int | m_version |
Version number of this interface. More... | |
A generic way to interrogate shaders on disk about their parameters.
Applications and bridges to RenderMan can use this API to gather infomation about shaders on disk without linking to a specific shading language library. There is also a python binding to the same API.
A unique RixShaderQuery object is created each time CreateQuery is called which can then be optionaly re-used by repeatadly calling Open on different on-disk files.
This interface is only used to inspect on-disk shaders. It cannot be used to modify the rendering state or query shaders loaded in shading networks.
Definition at line 247 of file RixShaderInfo.h.
|
inlineprotected |
Definition at line 257 of file RixShaderInfo.h.
|
pure virtual |
A RixShaderQuery factory, callers are responsible for deleting the returned object when they are done with it.