pub struct DeviceLimits {Show 17 fields
pub max_compute_work_group_invocations: u32,
pub max_compute_work_group_count: [u32; 3],
pub max_compute_work_group_size: [u32; 3],
pub max_compute_shared_memory_size: u32,
pub max_clip_distances: u32,
pub max_cull_distances: u32,
pub max_viewports: u32,
pub max_viewport_dimensions: [u32; 2],
pub max_framebuffer_width: u32,
pub max_framebuffer_height: u32,
pub max_framebuffer_layers: u32,
pub max_color_attachments: u32,
pub max_vertex_input_attributes: u32,
pub max_vertex_input_bindings: u32,
pub max_vertex_input_attribute_offset: u32,
pub max_vertex_input_binding_stride: u32,
pub max_vertex_output_components: u32,
}
Fields§
§max_compute_work_group_invocations: u32
Maximum number of total invocations in a single workgroup.
max_compute_work_group_count: [u32; 3]
Maximum number of local workgroups per dispatch call.
max_compute_work_group_size: [u32; 3]
Maximum size of a local workgroup in each dimensions.
Maximum size in bytes of all shared memory variables in the compute pipeline.
max_clip_distances: u32
Maximum number of clip distances in a shader stage.
Minimum value: 8
max_cull_distances: u32
Maximum number of cull distances in a shader stage.
Minimum value: 8
max_viewports: u32
§max_viewport_dimensions: [u32; 2]
§max_framebuffer_width: u32
§max_framebuffer_height: u32
§max_framebuffer_layers: u32
§max_color_attachments: u32
§max_vertex_input_attributes: u32
§max_vertex_input_bindings: u32
§max_vertex_input_attribute_offset: u32
§max_vertex_input_binding_stride: u32
§max_vertex_output_components: u32
Trait Implementations§
Source§impl Clone for DeviceLimits
impl Clone for DeviceLimits
Source§fn clone(&self) -> DeviceLimits
fn clone(&self) -> DeviceLimits
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DeviceLimits
impl RefUnwindSafe for DeviceLimits
impl Send for DeviceLimits
impl Sync for DeviceLimits
impl Unpin for DeviceLimits
impl UnwindSafe for DeviceLimits
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