SetSpriteShader

Description

Sets the shader used to draw this sprite, loaded with LoadSpriteShader or LoadShader. By default sprites are assigned an internal shader that can handle 1 texture and a color. If you use a shader ID of 0 the sprite is assigned the internal shader.

Definition

SetSpriteShader( spriteID, shaderID )

Parameters