SpriteLayer.setSpriteRenderingMode

Sets the sprite's rendering function from a predefined ones.

class SpriteLayer
@nogc @trusted pure nothrow
RenderFunc
setSpriteRenderingMode
(
int n
,
RenderingMode mode
)

Parameters

n int

Sprite priority ID.

mode RenderingMode

The rendering mode. (init for layer default)

Return Value

Type: RenderFunc

The new rendering function.

Meta