Shader.getMode

Returns the shader mode for the shader, either MODE_CANVAS_ITEM, MODE_SPATIAL or MODE_PARTICLES

struct Shader
@nogc nothrow const
getMode
()

Meta