Struct rokol::glue::sdl::SgContextDesc [−][src]
#[repr(C)]pub struct SgContextDesc {
pub color_format: sg_pixel_format,
pub depth_format: sg_pixel_format,
pub sample_count: i32,
pub gl: sg_gl_context_desc,
pub metal: sg_metal_context_desc,
pub d3d11: sg_d3d11_context_desc,
pub wgpu: sg_wgpu_context_desc,
}
Fields
color_format: sg_pixel_format
depth_format: sg_pixel_format
sample_count: i32
gl: sg_gl_context_desc
metal: sg_metal_context_desc
d3d11: sg_d3d11_context_desc
wgpu: sg_wgpu_context_desc
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for sg_context_desc
impl !Send for sg_context_desc
impl !Sync for sg_context_desc
impl Unpin for sg_context_desc
impl UnwindSafe for sg_context_desc
Blanket Implementations
Mutably borrows from an owned value. Read more