Struct piston_window::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

Trait Implementations

impl Clone for TextureSettings
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for TextureSettings
[src]

Auto Trait Implementations

impl Send for TextureSettings

impl Sync for TextureSettings