SpriteBlendingMode()
语法
SpriteBlendingMode(SourceMode, DestinationMode)概要
Changes the way the sprite are blended with the background (when using DisplayTransparentSprite()). This function is for advanced users only. The result can differ depending of the underlying subsystem: for example OpenGL and DirectX doesn't behave the same.
参数
SourceMode, DestinationMode Both source and destination mode can be one of the following values: #PB_Sprite_BlendZero #PB_Sprite_BlendOne #PB_Sprite_BlendSourceColor #PB_Sprite_BlendInvertSourceColor #PB_Sprite_BlendDestinationColor #PB_Sprite_BlendInvertDestinationColor #PB_Sprite_BlendSourceAlpha #PB_Sprite_BlendInvertSourceAlpha #PB_Sprite_BlendDestinationAlpha #PB_Sprite_BlendInvertDestinationAlphaThe default values are SpriteBlendingMode(#PB_Sprite_BlendSourceAlpha, #PB_Sprite_BlendInvertSourceAlpha).
返回值
无.
已支持操作系统
所有