Struct texture::TextureSettings [] [src]

pub struct TextureSettings { /* fields omitted */ }

Texture creation parameters.

Methods

impl TextureSettings
[src]

Create default settings.

Gets whether to convert gamma, treated as sRGB color space.

Sets convert gamma.

Sets convert gamma.

Gets wheter compress on the GPU.

Sets compress.

Sets compress.

Gets generate mipmap.

Sets generate mipmap.

Sets generate mipmap.

Gets minify filter.

Sets minify filter.

Sets minify filter.

Gets magnify filter

Sets magnify filter

Sets magnify filter

Gets minify mipmap filter

Sets magnify mipmap filter, and sets generate_mipmap to true.

Sets magnify mipmap filter, and sets generate_mipmap to true

Returns the min and mag filter

Sets the min and mag filter

Sets the min and mag filter