Shader:getType

Returns whether the shader is a graphics or compute shader.

type = Shader:getType()

Arguments

None

Returns

NameTypeDescription
typeShaderType The type of the Shader.

See also