# 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

- objID - The ID of the object to modify.
- shaderID - The ID of the shader to use.