Expand description
Texture related utilities.
Enums§
Constants§
- CROSSHAIR_
INVERSE_ PNG_ FILE_ BYTES - For use with
BLEND_FUNC_INVERT_COLOR– transparent pixels have black color values instead of white but the opaque portion is still white - CROSSHAIR_
PNG_ FILE_ BYTES - An RGBA 16x16 square of pixels with white color values with an opaque cross of two pixels thickness
- POINTER_
HAND_ PNG_ FILE_ BYTES_ OFFSET - TILESET_
EASCII_ ACORN_ 8X8_ INVERSE_ PNG_ FILE_ BYTES - TILESET_
EASCII_ ACORN_ 8X8_ PNG_ FILE_ BYTES - TILESET_
EASCII_ ACORN_ 16X16_ INVERSE_ PNG_ FILE_ BYTES - TILESET_
EASCII_ ACORN_ 16X16_ PNG_ FILE_ BYTES
Functions§
- texture2d_
with_ mipmaps_ from_ bytes - Load a 2D texture from the given bytes with the given format and mipmaps.
- texture2d_
with_ mipmaps_ from_ file - Load a 2D texture from the given path with the given format and mipmaps.
- texture2darray_
with_ mipmaps_ from_ bytes - Load a 2D texture array from the given vector of byte slices for each individual texture, with the given format and mipmaps.
- texture2darray_
with_ mipmaps_ from_ files - Load a 2D texture array from the given paths with the given format and mipmaps.