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