RenderMan  26.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Shader Struct Reference

Scene graph shader node descriptions. More...

#include <RixSceneGraph.h>

Public Member Functions

 Shader ()
 Default constructor of invalid type. More...
 
 Shader (ShaderType t, RtUString n, RtUString h)
 Parameterized constructor specifies type, name, and handle. More...
 
 Shader (Shader const &)=default
 Default copy constructor. More...
 
Shaderoperator= (Shader const &)=default
 Default assign operator. More...
 

Public Attributes

ShaderType type
 Shading node type, e.g., pattern, bxdf, etc. More...
 
RtUString name
 Shading node name, e.g. PxrDiffuse. More...
 
RtUString handle
 User specified identifier, e.g. "diffuse1". More...
 
RtParamList params
 Shading node parameters. More...
 

Detailed Description

Scene graph shader node descriptions.

Shader nodes represent built-in and user plug-ins including OSL.

Constructor & Destructor Documentation

Shader::Shader ( )
inline

Default constructor of invalid type.

References k_Invalid.

Shader::Shader ( ShaderType  t,
RtUString  n,
RtUString  h 
)
inline

Parameterized constructor specifies type, name, and handle.

Shader::Shader ( Shader const &  )
default

Default copy constructor.

Member Function Documentation

Shader& Shader::operator= ( Shader const &  )
default

Default assign operator.

Member Data Documentation

RtUString Shader::handle

User specified identifier, e.g. "diffuse1".

RtUString Shader::name

Shading node name, e.g. PxrDiffuse.

RtParamList Shader::params

Shading node parameters.

ShaderType Shader::type

Shading node type, e.g., pattern, bxdf, etc.


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