Skip to main content

GpuBuf

Trait GpuBuf 

Source
pub trait GpuBuf { }
Expand description

Trait for types that can be bound as a GPU buffer in a dispatch call.

This is object-safe so that &[&dyn GpuBuf] can hold mixed buffer types.

Implementors§

Source§

impl<T: Pod> GpuBuf for Buffer<T>