SpriteLayer.setSpriteRenderingFunc

Sets the sprite's rendering function. Can be a custom one.

class SpriteLayer
@nogc @trusted pure nothrow
RenderFunc
setSpriteRenderingFunc
(
int n
,
RenderFunc func
)

Parameters

n int

Sprite priority ID.

Return Value

Type: RenderFunc

The new rendering function.

Meta