WithDrawableResources

Defines an object that uses drawable resources, or is one itself.

Note that some renderers, for example Godot, automatically manage drawing and don't let the user draw manually. In this case, the draw implementation should be omitted.

@safe
interface WithDrawableResources : WithResources {}

Members

Functions

draw
void draw()

Draw this resource, if supported by the renderer.

Inherited Members

From WithResources

reload
void reload()

Reload the resource's dependencies using the given pack list.

Meta