GpuResource

Trait GpuResource 

Source
pub(crate) trait GpuResource {
    // Required method
    fn new(ctx: &WgpuContext) -> Self
       where Self: Sized;
}
Expand description

A render resource.

Required Methods§

Source

fn new(ctx: &WgpuContext) -> Self
where Self: Sized,

Implementors§