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.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.