CompositionGlContextOptions
struct · ferroui-opengl · v0.5.0
struct CompositionGlContextOptions
Options for creating an OpenGL context that draws into the surfaces of a compositor.
Members
new
fn new() -> Self
gl_profiles
fn gl_profiles(self: &Self) -> Option<&[GlVersion]>
The preferred OpenGL profiles and versions for the created context, in the order of preference. When none, the defaults of the rendering backend are used.
set_gl_profiles
fn set_gl_profiles(self: &mut Self, value: Option<Vec<GlVersion>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneDebugDefaultStructuralPartialEqPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.