Struct nstd_gl::NSTDGLStateDescriptor [−][src]
#[repr(C)]pub struct NSTDGLStateDescriptor {
pub backend: NSTDGLBackend,
pub power_preference: NSTDGLPowerPreference,
pub presentation_mode: NSTDGLPresentationMode,
}Expand description
Configures a GL state upon creation.
For backend, NSTD_GL_BACKEND_UNKNOWN will pick a default backend to use.
Fields
backend: NSTDGLBackendpower_preference: NSTDGLPowerPreferencepresentation_mode: NSTDGLPresentationMode