Skip to main content

GpuRuntimeValue

Trait GpuRuntimeValue 

pub trait GpuRuntimeValue {
    const TY: GpuRuntimeTy;

    // Required method
    fn write_gpu_bytes(&self, dst: &mut [u8]);
}

Required Associated Constants§

Required Methods§

fn write_gpu_bytes(&self, dst: &mut [u8])

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

§

impl GpuRuntimeValue for [[f32; 2]; 2]

§

const TY: GpuRuntimeTy = GpuRuntimeTy::Float2x2

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for [[f32; 2]; 3]

§

const TY: GpuRuntimeTy = GpuRuntimeTy::Float3x2

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for [[f32; 2]; 4]

§

const TY: GpuRuntimeTy = GpuRuntimeTy::Float4x2

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for [[f32; 3]; 2]

§

const TY: GpuRuntimeTy = GpuRuntimeTy::Float2x3

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for [[f32; 3]; 3]

§

const TY: GpuRuntimeTy = GpuRuntimeTy::Float3x3

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for [[f32; 3]; 4]

§

const TY: GpuRuntimeTy = GpuRuntimeTy::Float4x3

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for [[f32; 4]; 2]

§

const TY: GpuRuntimeTy = GpuRuntimeTy::Float2x4

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for [[f32; 4]; 3]

§

const TY: GpuRuntimeTy = GpuRuntimeTy::Float3x4

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for [[f32; 4]; 4]

§

const TY: GpuRuntimeTy = GpuRuntimeTy::Float4x4

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for [f32; 2]

§

const TY: GpuRuntimeTy = GpuRuntimeTy::Float2

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for [f32; 3]

§

const TY: GpuRuntimeTy = GpuRuntimeTy::Float3

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for [f32; 4]

§

const TY: GpuRuntimeTy = GpuRuntimeTy::Float4

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for [i32; 2]

§

const TY: GpuRuntimeTy = GpuRuntimeTy::Int2

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for [i32; 3]

§

const TY: GpuRuntimeTy = GpuRuntimeTy::Int3

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for [i32; 4]

§

const TY: GpuRuntimeTy = GpuRuntimeTy::Int4

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for [u32; 2]

§

const TY: GpuRuntimeTy = GpuRuntimeTy::UInt2

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for [u32; 3]

§

const TY: GpuRuntimeTy = GpuRuntimeTy::UInt3

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for [u32; 4]

§

const TY: GpuRuntimeTy = GpuRuntimeTy::UInt4

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for f32

§

const TY: GpuRuntimeTy = GpuRuntimeTy::Float

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for i32

§

const TY: GpuRuntimeTy = GpuRuntimeTy::Int

§

fn write_gpu_bytes(&self, dst: &mut [u8])

§

impl GpuRuntimeValue for u32

§

const TY: GpuRuntimeTy = GpuRuntimeTy::UInt

§

fn write_gpu_bytes(&self, dst: &mut [u8])

Implementors§