[][src]Struct mujoco_sys::render::_mjrContext

#[repr(C)]pub struct _mjrContext {
    pub lineWidth: f32,
    pub shadowClip: f32,
    pub shadowScale: f32,
    pub fogStart: f32,
    pub fogEnd: f32,
    pub fogRGBA: [f32; 4],
    pub shadowSize: c_int,
    pub offWidth: c_int,
    pub offHeight: c_int,
    pub offSamples: c_int,
    pub fontScale: c_int,
    pub auxWidth: [c_int; 10],
    pub auxHeight: [c_int; 10],
    pub auxSamples: [c_int; 10],
    pub offFBO: c_uint,
    pub offFBO_r: c_uint,
    pub offColor: c_uint,
    pub offColor_r: c_uint,
    pub offDepthStencil: c_uint,
    pub offDepthStencil_r: c_uint,
    pub shadowFBO: c_uint,
    pub shadowTex: c_uint,
    pub auxFBO: [c_uint; 10],
    pub auxFBO_r: [c_uint; 10],
    pub auxColor: [c_uint; 10],
    pub auxColor_r: [c_uint; 10],
    pub ntexture: c_int,
    pub textureType: [c_int; 100],
    pub texture: [c_uint; 100],
    pub basePlane: c_uint,
    pub baseMesh: c_uint,
    pub baseHField: c_uint,
    pub baseBuiltin: c_uint,
    pub baseFontNormal: c_uint,
    pub baseFontShadow: c_uint,
    pub baseFontBig: c_uint,
    pub rangePlane: c_int,
    pub rangeMesh: c_int,
    pub rangeHField: c_int,
    pub rangeBuiltin: c_int,
    pub rangeFont: c_int,
    pub nskin: c_int,
    pub skinvertVBO: *mut c_uint,
    pub skinnormalVBO: *mut c_uint,
    pub skintexcoordVBO: *mut c_uint,
    pub skinfaceVBO: *mut c_uint,
    pub charWidth: [c_int; 127],
    pub charWidthBig: [c_int; 127],
    pub charHeight: c_int,
    pub charHeightBig: c_int,
    pub glewInitialized: c_int,
    pub windowAvailable: c_int,
    pub windowSamples: c_int,
    pub windowStereo: c_int,
    pub windowDoublebuffer: c_int,
    pub currentBuffer: c_int,
}

Fields

lineWidth: f32shadowClip: f32shadowScale: f32fogStart: f32fogEnd: f32fogRGBA: [f32; 4]shadowSize: c_intoffWidth: c_intoffHeight: c_intoffSamples: c_intfontScale: c_intauxWidth: [c_int; 10]auxHeight: [c_int; 10]auxSamples: [c_int; 10]offFBO: c_uintoffFBO_r: c_uintoffColor: c_uintoffColor_r: c_uintoffDepthStencil: c_uintoffDepthStencil_r: c_uintshadowFBO: c_uintshadowTex: c_uintauxFBO: [c_uint; 10]auxFBO_r: [c_uint; 10]auxColor: [c_uint; 10]auxColor_r: [c_uint; 10]ntexture: c_inttextureType: [c_int; 100]texture: [c_uint; 100]basePlane: c_uintbaseMesh: c_uintbaseHField: c_uintbaseBuiltin: c_uintbaseFontNormal: c_uintbaseFontShadow: c_uintbaseFontBig: c_uintrangePlane: c_intrangeMesh: c_intrangeHField: c_intrangeBuiltin: c_intrangeFont: c_intnskin: c_intskinvertVBO: *mut c_uintskinnormalVBO: *mut c_uintskintexcoordVBO: *mut c_uintskinfaceVBO: *mut c_uintcharWidth: [c_int; 127]charWidthBig: [c_int; 127]charHeight: c_intcharHeightBig: c_intglewInitialized: c_intwindowAvailable: c_intwindowSamples: c_intwindowStereo: c_intwindowDoublebuffer: c_intcurrentBuffer: c_int

Trait Implementations

impl Clone for _mjrContext[src]

impl Copy for _mjrContext[src]

impl Default for _mjrContext[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.