#[repr(C)]
pub struct PhysicalDeviceMeshShaderPropertiesEXT<'a> {
Show 31 fields pub s_type: StructureType, pub p_next: *mut c_void, pub max_task_work_group_total_count: u32, pub max_task_work_group_count: [u32; 3], pub max_task_work_group_invocations: u32, pub max_task_work_group_size: [u32; 3], pub max_task_payload_size: u32, pub max_task_shared_memory_size: u32, pub max_task_payload_and_shared_memory_size: u32, pub max_mesh_work_group_total_count: u32, pub max_mesh_work_group_count: [u32; 3], pub max_mesh_work_group_invocations: u32, pub max_mesh_work_group_size: [u32; 3], pub max_mesh_shared_memory_size: u32, pub max_mesh_payload_and_shared_memory_size: u32, pub max_mesh_output_memory_size: u32, pub max_mesh_payload_and_output_memory_size: u32, pub max_mesh_output_components: u32, pub max_mesh_output_vertices: u32, pub max_mesh_output_primitives: u32, pub max_mesh_output_layers: u32, pub max_mesh_multiview_view_count: u32, pub mesh_output_per_vertex_granularity: u32, pub mesh_output_per_primitive_granularity: u32, pub max_preferred_task_work_group_invocations: u32, pub max_preferred_mesh_work_group_invocations: u32, pub prefers_local_invocation_vertex_output: Bool32, pub prefers_local_invocation_primitive_output: Bool32, pub prefers_compact_vertex_output: Bool32, pub prefers_compact_primitive_output: Bool32, pub _marker: PhantomData<&'a ()>,
}
Expand description

Fields§

§s_type: StructureType§p_next: *mut c_void§max_task_work_group_total_count: u32§max_task_work_group_count: [u32; 3]§max_task_work_group_invocations: u32§max_task_work_group_size: [u32; 3]§max_task_payload_size: u32§max_task_shared_memory_size: u32§max_task_payload_and_shared_memory_size: u32§max_mesh_work_group_total_count: u32§max_mesh_work_group_count: [u32; 3]§max_mesh_work_group_invocations: u32§max_mesh_work_group_size: [u32; 3]§max_mesh_shared_memory_size: u32§max_mesh_payload_and_shared_memory_size: u32§max_mesh_output_memory_size: u32§max_mesh_payload_and_output_memory_size: u32§max_mesh_output_components: u32§max_mesh_output_vertices: u32§max_mesh_output_primitives: u32§max_mesh_output_layers: u32§max_mesh_multiview_view_count: u32§mesh_output_per_vertex_granularity: u32§mesh_output_per_primitive_granularity: u32§max_preferred_task_work_group_invocations: u32§max_preferred_mesh_work_group_invocations: u32§prefers_local_invocation_vertex_output: Bool32§prefers_local_invocation_primitive_output: Bool32§prefers_compact_vertex_output: Bool32§prefers_compact_primitive_output: Bool32§_marker: PhantomData<&'a ()>

Implementations§

source§

impl<'a> PhysicalDeviceMeshShaderPropertiesEXT<'a>

source

pub fn max_task_work_group_total_count( self, max_task_work_group_total_count: u32, ) -> Self

source

pub fn max_task_work_group_count( self, max_task_work_group_count: [u32; 3], ) -> Self

source

pub fn max_task_work_group_invocations( self, max_task_work_group_invocations: u32, ) -> Self

source

pub fn max_task_work_group_size( self, max_task_work_group_size: [u32; 3], ) -> Self

source

pub fn max_task_payload_size(self, max_task_payload_size: u32) -> Self

source

pub fn max_task_shared_memory_size( self, max_task_shared_memory_size: u32, ) -> Self

source

pub fn max_task_payload_and_shared_memory_size( self, max_task_payload_and_shared_memory_size: u32, ) -> Self

source

pub fn max_mesh_work_group_total_count( self, max_mesh_work_group_total_count: u32, ) -> Self

source

pub fn max_mesh_work_group_count( self, max_mesh_work_group_count: [u32; 3], ) -> Self

source

pub fn max_mesh_work_group_invocations( self, max_mesh_work_group_invocations: u32, ) -> Self

source

pub fn max_mesh_work_group_size( self, max_mesh_work_group_size: [u32; 3], ) -> Self

source

pub fn max_mesh_shared_memory_size( self, max_mesh_shared_memory_size: u32, ) -> Self

source

pub fn max_mesh_payload_and_shared_memory_size( self, max_mesh_payload_and_shared_memory_size: u32, ) -> Self

source

pub fn max_mesh_output_memory_size( self, max_mesh_output_memory_size: u32, ) -> Self

source

pub fn max_mesh_payload_and_output_memory_size( self, max_mesh_payload_and_output_memory_size: u32, ) -> Self

source

pub fn max_mesh_output_components(self, max_mesh_output_components: u32) -> Self

source

pub fn max_mesh_output_vertices(self, max_mesh_output_vertices: u32) -> Self

source

pub fn max_mesh_output_primitives(self, max_mesh_output_primitives: u32) -> Self

source

pub fn max_mesh_output_layers(self, max_mesh_output_layers: u32) -> Self

source

pub fn max_mesh_multiview_view_count( self, max_mesh_multiview_view_count: u32, ) -> Self

source

pub fn mesh_output_per_vertex_granularity( self, mesh_output_per_vertex_granularity: u32, ) -> Self

source

pub fn mesh_output_per_primitive_granularity( self, mesh_output_per_primitive_granularity: u32, ) -> Self

source

pub fn max_preferred_task_work_group_invocations( self, max_preferred_task_work_group_invocations: u32, ) -> Self

source

pub fn max_preferred_mesh_work_group_invocations( self, max_preferred_mesh_work_group_invocations: u32, ) -> Self

source

pub fn prefers_local_invocation_vertex_output( self, prefers_local_invocation_vertex_output: bool, ) -> Self

source

pub fn prefers_local_invocation_primitive_output( self, prefers_local_invocation_primitive_output: bool, ) -> Self

source

pub fn prefers_compact_vertex_output( self, prefers_compact_vertex_output: bool, ) -> Self

source

pub fn prefers_compact_primitive_output( self, prefers_compact_primitive_output: bool, ) -> Self

Trait Implementations§

source§

impl<'a> Clone for PhysicalDeviceMeshShaderPropertiesEXT<'a>

source§

fn clone(&self) -> PhysicalDeviceMeshShaderPropertiesEXT<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a> Debug for PhysicalDeviceMeshShaderPropertiesEXT<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PhysicalDeviceMeshShaderPropertiesEXT<'_>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'a> TaggedStructure for PhysicalDeviceMeshShaderPropertiesEXT<'a>

source§

const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_EXT

source§

impl<'a> Copy for PhysicalDeviceMeshShaderPropertiesEXT<'a>

source§

impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceMeshShaderPropertiesEXT<'_>

source§

impl Send for PhysicalDeviceMeshShaderPropertiesEXT<'_>

source§

impl Sync for PhysicalDeviceMeshShaderPropertiesEXT<'_>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.