TextureResource

Type Alias TextureResource 

Source
pub type TextureResource = LoadedResource<TextureMeta>;
Expand description

The loaded texture resource for a shader preset.

Aliased Type§

pub struct TextureResource {
    pub data: TextureBuffer,
    pub meta: TextureMeta,
}

Fields§

§data: TextureBuffer

The fully qualified path to the texture.

§meta: TextureMeta

Meta information about the texture.