v2.0
Returns the output type of this shader as one of the values of the siShaderParameterType enum.
// get accessor siShaderParameterType rtn = Shader.OutputType; |
NewScene , False
set cube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
set mat = cube.AddMaterial("Phong")
set phong = mat.Shaders("Phong")
Application.LogMessage phong.OutputType
' INFO : 4 |