Shader.OutputType
 
 
 

Shader.OutputType

Introduced

v2.0

Description

Returns the output type of this shader as one of the values of the siShaderParameterType enum.

C# Syntax

// get accessor
siShaderParameterType rtn = Shader.OutputType;

Examples

VBScript Example

NewScene , False
set cube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
set mat = cube.AddMaterial("Phong")
set phong = mat.Shaders("Phong")
Application.LogMessage phong.OutputType
' INFO : 4