#[repr(C)]pub struct GPUSpeedCustom {Show 34 fields
pub max_texture_dimension_1d: u32,
pub max_texture_dimension_2d: u32,
pub max_texture_dimension_3d: u32,
pub max_texture_array_layers: u32,
pub max_bind_groups: u32,
pub max_bindings_per_bind_group: u32,
pub max_dynamic_uniform_buffers_per_pipeline_layout: u32,
pub max_dynamic_storage_buffers_per_pipeline_layout: u32,
pub max_sampled_textures_per_shader_stage: u32,
pub max_samplers_per_shader_stage: u32,
pub max_storage_buffers_per_shader_stage: u32,
pub max_storage_textures_per_shader_stage: u32,
pub max_uniform_buffers_per_shader_stage: u32,
pub max_uniform_buffer_binding_size: u32,
pub max_storage_buffer_binding_size: u32,
pub max_vertex_buffers: u32,
pub max_buffer_size: u64,
pub max_vertex_attributes: u32,
pub max_vertex_buffer_array_stride: u32,
pub min_uniform_buffer_offset_alignment: u32,
pub min_storage_buffer_offset_alignment: u32,
pub max_inter_stage_shader_components: u32,
pub max_color_attachments: u32,
pub max_color_attachment_bytes_per_sample: u32,
pub max_compute_workgroup_storage_size: u32,
pub max_compute_invocations_per_workgroup: u32,
pub max_compute_workgroup_size_x: u32,
pub max_compute_workgroup_size_y: u32,
pub max_compute_workgroup_size_z: u32,
pub max_compute_workgroups_per_dimension: u32,
pub min_subgroup_size: u32,
pub max_subgroup_size: u32,
pub max_push_constant_size: u32,
pub max_non_sampler_bindings: u32,
}Expand description
this struct is used for advance customizations refered as custom_speed settings
Fields§
§max_texture_dimension_1d: u32§max_texture_dimension_2d: u32§max_texture_dimension_3d: u32§max_texture_array_layers: u32§max_bind_groups: u32§max_bindings_per_bind_group: u32§max_dynamic_uniform_buffers_per_pipeline_layout: u32§max_dynamic_storage_buffers_per_pipeline_layout: u32§max_sampled_textures_per_shader_stage: u32§max_samplers_per_shader_stage: u32§max_storage_buffers_per_shader_stage: u32§max_storage_textures_per_shader_stage: u32§max_uniform_buffers_per_shader_stage: u32§max_uniform_buffer_binding_size: u32§max_storage_buffer_binding_size: u32§max_vertex_buffers: u32§max_buffer_size: u64§max_vertex_attributes: u32§max_vertex_buffer_array_stride: u32§min_uniform_buffer_offset_alignment: u32§min_storage_buffer_offset_alignment: u32§max_inter_stage_shader_components: u32§max_color_attachments: u32§max_color_attachment_bytes_per_sample: u32§max_compute_workgroup_storage_size: u32§max_compute_invocations_per_workgroup: u32§max_compute_workgroup_size_x: u32§max_compute_workgroup_size_y: u32§max_compute_workgroup_size_z: u32§max_compute_workgroups_per_dimension: u32§min_subgroup_size: u32§max_subgroup_size: u32§max_push_constant_size: u32§max_non_sampler_bindings: u32Trait Implementations§
Source§impl Clone for GPUSpeedCustom
impl Clone for GPUSpeedCustom
Source§fn clone(&self) -> GPUSpeedCustom
fn clone(&self) -> GPUSpeedCustom
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GPUSpeedCustom
impl Debug for GPUSpeedCustom
Source§impl Default for GPUSpeedCustom
impl Default for GPUSpeedCustom
Source§fn default() -> GPUSpeedCustom
fn default() -> GPUSpeedCustom
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GPUSpeedCustom
impl RefUnwindSafe for GPUSpeedCustom
impl Send for GPUSpeedCustom
impl Sync for GPUSpeedCustom
impl Unpin for GPUSpeedCustom
impl UnwindSafe for GPUSpeedCustom
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)