#[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 more