v9.0 (2011)
ICE Shaders
Registers a custom shader definition (ShaderDef) in Softimage.
Note: For an example of a shader definition plug-in, see the
ModelMap
Shader Definition example.
oReturn = PluginRegistrar.RegisterShader( in_ShaderClassName, in_MajorVersion, in_MinorVersion ); |
Parameter | Type | Description |
---|---|---|
in_ShaderClassName | String | Name of the new shader type. This value is used to build the ShaderDef.ProgID value by taking the name of the parser, the class name of the shader definition, and the major and minor version numbers to construct a string such as "Softimage.material-phong.1.0" (where 'Softimage' is the parser name, 'material-phong' is the class name, etc.). |
in_MajorVersion | Long | Major version number. See the description for the in_ShaderClassName parameter. |
in_MinorVersion | Long | Minor version number. See the description for the in_ShaderClassName parameter. |