pub trait BufferDataInput: AtomicPod {
type Previous: AtomicPod;
}Expand description
A trait that defines the data that we supply to the GPU for a single mesh instance (2D or 3D).
A compute shader is expected to expand this data to the full buffer data
type. See BatchedInstanceBuffers for more detail.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".