[][src]Struct grr::DeviceLimits

pub struct DeviceLimits {
    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.

max_compute_shared_memory_size: u32

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: u32max_viewport_dimensions: [u32; 2]max_framebuffer_width: u32max_framebuffer_height: u32max_framebuffer_layers: u32max_color_attachments: u32max_vertex_input_attributes: u32max_vertex_input_bindings: u32max_vertex_input_attribute_offset: u32max_vertex_input_binding_stride: u32max_vertex_output_components: u32

Trait Implementations

impl Clone for DeviceLimits[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DeviceLimits[src]

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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