pub struct FunctionMeshShaderInfo {
pub vertex_type: Option<(Handle<Type>, Handle<Expression>)>,
pub primitive_type: Option<(Handle<Type>, Handle<Expression>)>,
}Expand description
Mesh shader related characteristics of a function.
Fields§
§vertex_type: Option<(Handle<Type>, Handle<Expression>)>The type of value this function passes to SetVertex, and the
expression that first established it.
primitive_type: Option<(Handle<Type>, Handle<Expression>)>The type of value this function passes to SetPrimitive, and the
expression that first established it.
Trait Implementations§
Source§impl Clone for FunctionMeshShaderInfo
impl Clone for FunctionMeshShaderInfo
Source§fn clone(&self) -> FunctionMeshShaderInfo
fn clone(&self) -> FunctionMeshShaderInfo
Returns a copy 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 moreSource§impl Debug for FunctionMeshShaderInfo
impl Debug for FunctionMeshShaderInfo
Source§impl Default for FunctionMeshShaderInfo
impl Default for FunctionMeshShaderInfo
Source§fn default() -> FunctionMeshShaderInfo
fn default() -> FunctionMeshShaderInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FunctionMeshShaderInfo
impl<'de> Deserialize<'de> for FunctionMeshShaderInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FunctionMeshShaderInfo
impl RefUnwindSafe for FunctionMeshShaderInfo
impl Send for FunctionMeshShaderInfo
impl Sync for FunctionMeshShaderInfo
impl Unpin for FunctionMeshShaderInfo
impl UnwindSafe for FunctionMeshShaderInfo
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