RemoveSpriteShader()

Syntax

RemoveSpriteShader(#Sprite, Shader)
Description
Removes the realtime shader from the specified sprite previously added with AddSpriteShader(). If the shader wasn't added on this sprite, this command has no effect.

Parameters

#Sprite The sprite use.
Shader The shader to remove. It can be one of the following value:
  #PB_Shader_Blur      
  #PB_Shader_Noise     
  #PB_Shader_Pixelate  
  #PB_Shader_Bevel     
  #PB_Shader_BulgePinch
  #PB_Shader_Adjustment

Return value

None.

See Also

AddSpriteShader(), SpriteShaderAttribute()

Supported OS

All

<- LoadSprite() - Sprite Index - RotateSprite() ->