Shader.OutputType

導入

v2.0

詳細

このシェーダの出力タイプを、siShaderParameterType列挙型の値の 1 つとして戻します。

C#構文

// get accessor

siShaderParameterType rtn = Shader.OutputType;

VBScript の例

NewScene , False

set cube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")

set mat = cube.AddMaterial("Phong")

set phong = mat.Shaders("Phong")

Application.LogMessage phong.OutputType

' INFO : 4