Struct ggez::graphics::GraphicsContextGeneric [] [src]

pub struct GraphicsContextGeneric<R, F, C, D> where
    R: Resources,
    F: Factory<R>,
    C: CommandBuffer<R>,
    D: Device<Resources = R, CommandBuffer = C>, 
{ /* fields omitted */ }

A structure that contains graphics state. For instance, background and foreground colors, window info, DPI, rendering pipeline state, etc.

As an end-user you shouldn't ever have to touch this, but it goes into part of the Context and so has to be public, at least until the pub(restricted) feature is stable.

Trait Implementations

impl<R, F, C, D> Debug for GraphicsContextGeneric<R, F, C, D> where
    R: Resources,
    F: Factory<R>,
    C: CommandBuffer<R>,
    D: Device<Resources = R, CommandBuffer = C>, 
[src]

Formats the value using the given formatter.