Skip to main content

GpuBufferDataF

Trait GpuBufferDataF 

Source
pub trait GpuBufferDataF {
    const NUM_BLOCKS: usize;

    // Required method
    fn write(&self, writer: &mut GpuBufferWriter<'_, GpuBufferBlockF>);
}

Required Associated Constants§

Required Methods§

Source

fn write(&self, writer: &mut GpuBufferWriter<'_, GpuBufferBlockF>)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl GpuBufferDataF for [f32; 4]

Implementors§