XSIFactory.CreateShaderParamDefOptions operator

Introduced

v9.0 (2011)

Description

Creates a set of shader parameter definition options. The ShaderParamDefOptions must be passed to the ShaderParamDefContainer.AddParamDef and ShaderParamDefContainer.AddArrayParamDef methods when creating parameter definitions, so you need to create and populate it before calling the Add methods.

C# Syntax

ShaderParamDefOptions XSIFactory.CreateShaderParamDefOptions();

Scripting Syntax

oReturn = XSIFactory.CreateShaderParamDefOptions();

Return Value

ShaderParamDefOptions

See Also

ShaderParamDefContainer.AddParamDef ShaderParamDefContainer.AddArrayParamDef Adding Parameter Definitions