pub struct F64Pack(/* private fields */);
Expand description
A wrapper struct that is used to implement std140 packing for the underlying type
Trait Implementations§
Source§impl Pack for F64Pack
impl Pack for F64Pack
type GLSLOutput = f64
type HLSLOutput = f64
type GLSLOutputArray = f64
type HLSLOutputArray = f64
type CPUOutput = f64
Source§fn into_packed_glsl(self) -> Self::GLSLOutput
fn into_packed_glsl(self) -> Self::GLSLOutput
Convert the struct into packed data ready to be uploaded and consumed with hlsl standard
conventions. Read more
Source§fn into_packed_hlsl(self) -> Self::HLSLOutput
fn into_packed_hlsl(self) -> Self::HLSLOutput
Convert the struct into packed data ready to be uploaded and consumed with hlsl standard
conventions. Read more
Source§fn into_packed_glsl_array(self) -> Self::GLSLOutputArray
fn into_packed_glsl_array(self) -> Self::GLSLOutputArray
Convert the struct into packed data ready to be uploaded and consumed with hlsl standard
conventions. Read more
Source§fn into_packed_hlsl_array(self) -> Self::HLSLOutputArray
fn into_packed_hlsl_array(self) -> Self::HLSLOutputArray
Convert the struct into packed data ready to be uploaded and consumed with hlsl standard
conventions. Read more
Source§fn into_packed_cpu(self) -> Self::CPUOutput
fn into_packed_cpu(self) -> Self::CPUOutput
Convert the struct into packed data for general purpose use on the CPU. This would be
ideal for things like serialization where you don’t need to conform to special GPU alignment
and padding rules. Read more
impl Copy for F64Pack
Auto Trait Implementations§
impl Freeze for F64Pack
impl RefUnwindSafe for F64Pack
impl Send for F64Pack
impl Sync for F64Pack
impl Unpin for F64Pack
impl UnwindSafe for F64Pack
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