Enum gfx::memory::Usage []

#[repr(u8)]
pub enum Usage { Data, Dynamic, Upload, Download, }

How this memory will be used.

Variants

Full speed GPU access. Optimal for render targets and resourced memory.

CPU to GPU data flow with update commands. Used for dynamic buffer data, typically constant buffers.

CPU to GPU data flow with mapping. Used for staging for upload to GPU.

GPU to CPU data flow with mapping. Used for staging for download from GPU.

Trait Implementations

impl Debug for Usage

Formats the value using the given formatter.

impl PartialOrd<Usage> for Usage

impl PartialEq<Usage> for Usage

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Ord for Usage

impl Hash for Usage

impl Eq for Usage

impl Copy for Usage

impl Clone for Usage

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more