Struct luminance_webgl::webgl2::state::WebGL2State [−][src]
pub struct WebGL2State { /* fields omitted */ }
Expand description
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).
Implementations
Get the number of maximum elements an array texture can hold.
Cache the number on the first call and then re-use it for later calls.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WebGL2State
impl !Send for WebGL2State
impl !Sync for WebGL2State
impl Unpin for WebGL2State
impl UnwindSafe for WebGL2State