Struct luminance::state::GraphicsState[][src]

pub struct GraphicsState { /* fields omitted */ }

The graphics state.

This type represents the current state of a given graphics context. It acts as a forward-gate to all the exposed features from the low-level API but adds a small cache layer over it to prevent from issuing the same API call (with the same parameters).

Methods

impl GraphicsState
[src]

Create a new GraphicsState.

Keep in mind you can create only one per thread.

Auto Trait Implementations

impl !Send for GraphicsState

impl !Sync for GraphicsState