#[repr(transparent)]pub struct NSOpenGLContextParameter(pub NSInteger);OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
NSOpenGL only.Expand description
Tuple Fields§
§0: NSIntegerOpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
Implementations§
Source§impl NSOpenGLContextParameter
impl NSOpenGLContextParameter
pub const SwapInterval: Self
OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const SurfaceOrder: Self
OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const SurfaceOpacity: Self
OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const SurfaceBackingSize: Self
OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const ReclaimResources: Self
OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const CurrentRendererID: Self
OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const GPUVertexProcessing: Self
OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const GPUFragmentProcessing: Self
OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const HasDrawable: Self
OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const MPSwapsInFlight: Self
OpenGL API deprecated; please use Metal and MetalKit. (Define GL_SILENCE_DEPRECATION to silence these warnings.)
pub const SwapRectangle: Self
pub const SwapRectangleEnable: Self
pub const RasterizationEnable: Self
pub const StateValidation: Self
pub const SurfaceSurfaceVolatile: Self
Trait Implementations§
Source§impl Clone for NSOpenGLContextParameter
impl Clone for NSOpenGLContextParameter
Source§fn clone(&self) -> NSOpenGLContextParameter
fn clone(&self) -> NSOpenGLContextParameter
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for NSOpenGLContextParameter
impl Debug for NSOpenGLContextParameter
Source§impl Encode for NSOpenGLContextParameter
impl Encode for NSOpenGLContextParameter
Source§impl Hash for NSOpenGLContextParameter
impl Hash for NSOpenGLContextParameter
Source§impl Ord for NSOpenGLContextParameter
impl Ord for NSOpenGLContextParameter
Source§fn cmp(&self, other: &NSOpenGLContextParameter) -> Ordering
fn cmp(&self, other: &NSOpenGLContextParameter) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for NSOpenGLContextParameter
impl PartialEq for NSOpenGLContextParameter
Source§fn eq(&self, other: &NSOpenGLContextParameter) -> bool
fn eq(&self, other: &NSOpenGLContextParameter) -> bool
self and other values to be equal, and is used by ==.