#[repr(transparent)]pub struct InstanceShaderBindingOffsetAndFlags(pub u32);
Tuple Fields§
§0: u32
Implementations§
source§impl InstanceShaderBindingOffsetAndFlags
impl InstanceShaderBindingOffsetAndFlags
pub fn new(
instance_shader_binding_offset: u32,
flags: GeometryInstanceFlags
) -> Self
Trait Implementations§
source§impl Clone for InstanceShaderBindingOffsetAndFlags
impl Clone for InstanceShaderBindingOffsetAndFlags
source§fn clone(&self) -> InstanceShaderBindingOffsetAndFlags
fn clone(&self) -> InstanceShaderBindingOffsetAndFlags
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 From<(u32, GeometryInstanceFlags)> for InstanceShaderBindingOffsetAndFlags
impl From<(u32, GeometryInstanceFlags)> for InstanceShaderBindingOffsetAndFlags
source§fn from((offset, flags): (u32, GeometryInstanceFlags)) -> Self
fn from((offset, flags): (u32, GeometryInstanceFlags)) -> Self
Converts to this type from the input type.
source§impl From<u32> for InstanceShaderBindingOffsetAndFlags
impl From<u32> for InstanceShaderBindingOffsetAndFlags
source§fn from(offset: u32) -> InstanceShaderBindingOffsetAndFlags
fn from(offset: u32) -> InstanceShaderBindingOffsetAndFlags
Converts to this type from the input type.