Next: Textures, Previous: Render Combinators, Up: Rendering [Contents][Index]
Create a sprite that displays the image in texture. The size of
the mesh is the size of texture in pixels. anchor defines
the origin of the sprite. By default, the anchor is center
,
which puts the origin in the middle of the sprite. See
’anchor-texture’ for more anchoring options.
Create a sprite from the texture in file whose origin is defined
by anchor. The default anchor is center
.
Return #t
if obj is a sprite.
Return the texture for sprite.
Return the mesh for sprite.
Create a renderer for sprite.