# 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 )

void agk::SetSpriteShader( UINT spriteID, UINT shaderID )

## Parameters

- spriteID - The ID of the sprite to modify.
- shaderID - The ID of the shader to use.