Struct piston_window::TextureSettings [] [src]

pub struct TextureSettings { /* fields omitted */ }

Texture creation parameters.

Methods

impl TextureSettings
[src]

[src]

Create default settings.

[src]

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

[src]

Sets convert gamma.

[src]

Sets convert gamma.

[src]

Gets wheter compress on the GPU.

[src]

Sets compress.

[src]

Sets compress.

[src]

Gets generate mipmap.

[src]

Sets generate mipmap.

[src]

Sets generate mipmap.

[src]

Gets minify filter.

[src]

Sets minify filter.

[src]

Sets minify filter.

[src]

Gets magnify filter

[src]

Sets magnify filter

[src]

Sets magnify filter

[src]

Gets minify mipmap filter

[src]

Sets magnify mipmap filter, and sets generate_mipmap to true.

[src]

Sets magnify mipmap filter, and sets generate_mipmap to true

[src]

Returns the min and mag filter

[src]

Sets the min and mag filter

[src]

Sets the min and mag filter

Trait Implementations

impl Copy for TextureSettings
[src]

impl Clone for TextureSettings
[src]