RenderMan API  23.0
RixShaderInfo Class Referenceabstract

A generic way to interrogate shaders on disk about their parameters. More...

#include <RixShaderInfo.h>

Inheritance diagram for RixShaderInfo:
RixInterface

Public Member Functions

virtual RixShaderQueryCreateQuery (void)=0
 A RixShaderQuery factory, callers are responsible for deleting the returned object when they are done with it. More...
 
- Public Member Functions inherited from RixInterface
virtual int GetVersion () const
 

Protected Member Functions

 RixShaderInfo ()
 
- Protected Member Functions inherited from RixInterface
 RixInterface (int version)
 Interfaces should not be constructed by users. More...
 
virtual ~RixInterface ()
 Interfaces should not be deleted by users. More...
 

Additional Inherited Members

- Public Types inherited from RixInterface
enum  Type {
  k_Float, k_Integer, k_StringV, k_Color,
  k_Normal, k_Vector, k_Point, k_HPoint,
  k_MPoint, k_Matrix
}
 
- Protected Attributes inherited from RixInterface
int m_version
 Version number of this interface. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ RixShaderInfo()

RixShaderInfo::RixShaderInfo ( )
inlineprotected

Definition at line 257 of file RixShaderInfo.h.

Member Function Documentation

◆ CreateQuery()

virtual RixShaderQuery* RixShaderInfo::CreateQuery ( void  )
pure virtual

A RixShaderQuery factory, callers are responsible for deleting the returned object when they are done with it.


The documentation for this class was generated from the following file: