pub struct UiTexture<B> where
    B: Backend, 
{ /* private fields */ }
Expand description

A simple type that wraps a rendy Texture and provides a conrod_core::mesh::ImageDimensions implementation.

Implementations

An optional, simplified constructor for loading a UiTexture from a slice of sRGBA bytes.

Methods from Deref<Target = Texture<B>>

Get image handle.

Get sampler handle.

Get reference to image view.

Get mutable reference to image view.

Get whether texture has premultiplied alpha

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Performs the conversion.

The dimensions of the image in pixels.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.