Shader.getMode

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

struct Shader
@nogc nothrow const
getMode
()

Meta