siShaderParameterT ype

Introduced

5.0

Description

Defines the Shader parameter type for a Parameter object belonging to Shader, Material, Light or Camera. Shader parameter types only apply to parameters that support the siTexturable capability. This can be tested using the Parameter.Capabilities property. The output type of a shader can be check using the Shader.OutputType property.

C# Syntax

    siShaderParameterType.siUnknownParameterType                                // 0
    siShaderParameterType.siBooleanParameterType                                // 1
    siShaderParameterType.siColorParameterType                                  // 4
    siShaderParameterType.siDataParameterType                                   // 14
    siShaderParameterType.siIntegerParameterType                                // 2
    siShaderParameterType.siLensParameterType                                   // 10
    siShaderParameterType.siLightParameterType                                  // 11
    siShaderParameterType.siMaterialParameterType                               // 12
    siShaderParameterType.siMatrixParameterType                                 // 15
    siShaderParameterType.siModelParameterType                                  // 13
    siShaderParameterType.siProfileCurveParameterType                           // 21
    siShaderParameterType.siRealTimeParameterType                               // 16
    siShaderParameterType.siReferenceParameterType                              // 17
    siShaderParameterType.siScalarParameterType                                 // 3
    siShaderParameterType.siShaderReferenceParameterType                        // 18
    siShaderParameterType.siStringParameterType                                 // 8
    siShaderParameterType.siStructParameterType                                 // 19
    siShaderParameterType.siTextureParameterType                                // 7
    siShaderParameterType.siTextureSpaceParameterType                           // 6
    siShaderParameterType.siVectorParameterType                                 // 5
    siShaderParameterType.siLightmapParameterType                               // 20

Constant | Value | Description
siUnknownParameterType | 0 | Unknown parameter type
siBooleanParameterType | 1 | Boolean shader parameter type
siColorParameterType | 4 | Color shader parameter type
siDataParameterType | 14 | Data shader parameter type
siIntegerParameterType | 2 | Integer shader parameter type
siLensParameterType | 10 | Lens shader parameter type
siLightParameterType | 11 | Light shader parameter type
siMaterialParameterType | 12 | Material shader parameter type
siMatrixParameterType | 15 | Transform matrix shader parameter type
siModelParameterType | 13 | Model parameter type, maps shader output type that can write to geometry shader.
siProfileCurveParameterType | 21 | Profile curve parameter type.
siRealTimeParameterType | 16 | Realtime shader parameter type
siReferenceParameterType | 17 | Reference shader parameter type, input type only.
siScalarParameterType | 3 | Scalar shader parameter type; Float
siShaderReferenceParameterType | 18 | Shader reference shader parameter type
siStringParameterType | 8 | String shader parameter type
siStructParameterType | 19 | Struct shader parameter type
siTextureParameterType | 7 | Texture shader parameter type; normally a ImageClip object (in the object model) or ImageClip2 class (in the C++ API).
siTextureSpaceParameterType | 6 | Texturespace shader parameter type; ; such as a vertexcolor, UV texture, weightmap ClusterProperty object or a texture map Property.
siVectorParameterType | 5 | Vector3d shader parameter type
siLightmapParameterType | 20 | Lightmap shader parameter type

Applies To

Camera.GetShaderInputType | Light.GetShaderInputType | Material.GetShaderInputType | Shader.GetShaderInputType
Shader.OutputType | Camera::GetShaderInputType | Light::GetShaderInputType | Material::GetShaderInputType
Shader::GetOutputType2 | Shader::GetShaderInputType |  |

Autodesk Softimage v7.5