MeshReturnInfo

Struct MeshReturnInfo 

Source
pub struct MeshReturnInfo {
    out_variable_id: Word,
    out_members: Vec<MeshReturnMember>,
    local_invocation_index_id: Word,
    workgroup_size: u32,
    loop_counter_vertices: Word,
    loop_counter_primitives: Word,
    pub entry_point_epilogue_id: Word,
    vertex_info: PerOutputTypeMeshReturnInfo,
    primitive_info: PerOutputTypeMeshReturnInfo,
    primitive_indices: Option<Word>,
}

Fields§

§out_variable_id: Word

Id of the workgroup variable containing the data to be output

§out_members: Vec<MeshReturnMember>

All members of the output variable struct type

§local_invocation_index_id: Word

Id of the input variable for local invocation id

§workgroup_size: u32

Total workgroup size (product)

§loop_counter_vertices: Word

Variable to be used later when saving the output as a loop index

§loop_counter_primitives: Word

Variable to be used later when saving the output as a loop index

§entry_point_epilogue_id: Word

The id of the label to jump to when return is called

§vertex_info: PerOutputTypeMeshReturnInfo

Vertex-specific info

§primitive_info: PerOutputTypeMeshReturnInfo

Primitive-specific info

§primitive_indices: Option<Word>

Array variable for the primitive indices builtin

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, U> TryFrom<U> for T
where U: Into<T>,

Source§

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>,

Source§

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.