#[repr(C)]pub struct GlContextPtrInner {
pub ptr: Rc<GenericGlContext>,
pub svg_shader: GLuint,
pub svg_multicolor_shader: GLuint,
pub fxaa_shader: GLuint,
pub brush_shader: GLuint,
pub glsl_version: AzString,
}Fields§
§ptr: Rc<GenericGlContext>§svg_shader: GLuintSVG shader program (library-internal use)
svg_multicolor_shader: GLuintSVG multicolor shader program (library-internal use)
fxaa_shader: GLuintFXAA shader program (library-internal use)
brush_shader: GLuintSoft-brush shader program for the GPU painting API (0 if unusable).
glsl_version: AzStringThe GLSL #version directive that compiled (e.g. “150” or “300 es”),
discovered by the probe in new(). Empty if the context is unusable.
Trait Implementations§
Source§impl Debug for GlContextPtrInner
impl Debug for GlContextPtrInner
Source§impl Drop for GlContextPtrInner
impl Drop for GlContextPtrInner
Auto Trait Implementations§
impl !Send for GlContextPtrInner
impl !Sync for GlContextPtrInner
impl Freeze for GlContextPtrInner
impl RefUnwindSafe for GlContextPtrInner
impl Unpin for GlContextPtrInner
impl UnsafeUnpin for GlContextPtrInner
impl UnwindSafe for GlContextPtrInner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more