Expand description
Common operations with textures.
Structs§
- Draw
Texture - Helper for rendering textures.
Functions§
- attach_
texture - Attach a texture to a color-only framebuffer.
- new_
texture - Construct a new black texture of the given size.
- update_
texture_ size - Ensure the texture’s size is equal to
size
. If the size is the same, the texture doesn’t change.