Module render_v0

Source

Structs§

BoneTransform
Describes the transform of a bone. More compact and more defined than a Mat4.
BoundingBox
Used for 3D culling and tessellation applications.
Rectangle
Used to restrict the drawing of 2d triangles to a specific region.
SdfInstanceData
Describes an instance of an Sdf function to be rendered.
SkinnedSdfInstanceData
TextureDescription
Describes a texture and is used for texture creation.
TextureDescriptionBits
bytemuck-generated type for internal purposes only.

Enums§

TextureFormat
Describes how a texture stores its data.
TextureType
Defines the type of texture.

Statics§

API
FFI API

Functions§

create_sdf_model
Creates an SDF model from a Saft program.
create_texture
Create a texture, returning a handle to it.
destroy_sdf_model
Destroys an SDF model.
destroy_texture
Destroy a TextureHandle’s associated texture data.
draw_sdf_model
Draws 1 or more instances of an SDF model.
draw_textured_triangles_2d
Draw colored 2D textured triangles in screen space (physical pixel coordinates).
draw_triangles_2d
Draw colored 2D triangles in screen space (physical pixel coordinates).
render__create_sdf_model
Creates an SDF model from a Saft program.
render__create_texture
Create a texture, returning a handle to it.
render__destroy_sdf_model
Destroys an SDF model.
render__destroy_texture
Destroy a TextureHandle’s associated texture data.
render__draw_sdf_model
Draws 1 or more instances of an SDF model.
render__draw_textured_triangles_2d
Draw colored 2D textured triangles in screen space (physical pixel coordinates).
render__draw_triangles_2d
Draw colored 2D triangles in screen space (physical pixel coordinates).
render__update_texture
Updates a subrectangle of a texture with new data.
update_texture
Updates a subrectangle of a texture with new data.

Type Aliases§

SdfHandle
TextureHandle
Handle to a texture in Ark.