Struct gpgpu::Framework [−][src]
pub struct Framework { /* fields omitted */ }
Expand description
Entry point of gpgpu
. A Framework
must be created
first as all GPU primitives needs it to be created.
Implementations
Creates a new Framework
instance from a wgpu::Adapter
and a polling_time
.
Use this method when there are multiple GPUs in use or when a wgpu::Surface
is required.