Module texture

Source
Expand description

Images and textures

Re-exports§

pub use crate::ffi::CubemapLayout;
pub use crate::ffi::NPatchLayout;
pub use crate::ffi::PixelFormat;
pub use crate::ffi::TextureFilter;
pub use crate::ffi::TextureWrap;

Structs§

Image
Image, pixel data stored in CPU memory (RAM)
NPatchInfo
NPatchInfo, n-patch layout info
RenderTexture
RenderTexture, fbo for texture rendering
Texture
Texture, tex data stored in GPU memory (VRAM)

Enums§

ImageFormat
Image file format

Functions§

get_pixel_data_size
Get pixel data size in bytes for certain format

Type Aliases§

RenderTexture2D
RenderTexture2D, same as RenderTexture
Texture2D
Texture2D, same as Texture
TextureCubemap
TextureCubemap, same as Texture