Type Alias piston_window::prelude::G2dTextureContext

source ·
pub type G2dTextureContext = TextureContext<Factory, Resources, CommandBuffer>;
Expand description

Texture context.

Aliased Type§

struct G2dTextureContext {
    pub factory: Factory,
    pub encoder: Encoder<Resources, CommandBuffer>,
}

Fields§

§factory: Factory

A factory to create textures.

§encoder: Encoder<Resources, CommandBuffer>

An encoder to update textures.