#[repr(C)]pub struct HwRenderCallback {
pub context_type: c_uint,
pub context_reset: HwContextResetFn,
pub get_current_framebuffer: HwGetCurrentFramebufferFn,
pub get_proc_address: HwGetProcAddressFn,
pub depth: bool,
pub stencil: bool,
pub bottom_left_origin: bool,
pub version_major: c_uint,
pub version_minor: c_uint,
pub cache_context: bool,
pub context_destroy: HwContextResetFn,
pub debug_context: bool,
}Fields§
§context_type: c_uint§context_reset: HwContextResetFn§get_current_framebuffer: HwGetCurrentFramebufferFn§get_proc_address: HwGetProcAddressFn§depth: bool§stencil: bool§bottom_left_origin: bool§version_major: c_uint§version_minor: c_uint§cache_context: bool§context_destroy: HwContextResetFn§debug_context: boolTrait Implementations§
source§impl Clone for HwRenderCallback
impl Clone for HwRenderCallback
source§fn clone(&self) -> HwRenderCallback
fn clone(&self) -> HwRenderCallback
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more