Struct bgfx_rs::InitArgs[][src]

pub struct InitArgs {
    pub access: Access,
    pub layer: u16,
    pub num_layers: u16,
    pub mip: u16,
    pub resolve: u8,
}

Fields

access: Access

Access. See Access.

layer: u16

Cubemap side or depth layer/slice to use.

num_layers: u16

Number of texture layer/slice(s) in array to use.

mip: u16

Mip level.

resolve: u8

Resolve flags. See: ResolveFlags

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.