Enum bgfx::AttribType [] [src]

pub enum AttribType {
    Uint8(bool),
    Int8(bool),
    Uint10(bool),
    Int10(bool),
    Uint16(bool),
    Int16(bool),
    Half,
    Float,
}

Vertex attribute type.

Variants

Uint8

Unsigned 8-bit integer.

If the parameter is true, the value will be normalized between 0 and 1.

Int8

Signed 8-bit integer.

If the parameter is true, the value will be normalized between 0 and 1.

Uint10

Unsigned 10-bit integer.

If the parameter is true, the value will be normalized between 0 and 1.

Int10

Signed 10-bit integer.

If the parameter is true, the value will be normalized between 0 and 1.

Uint16

Unsigned 16-bit integer.

If the parameter is true, the value will be normalized between 0 and 1.

Int16

Signed 16-bit integer.

If the parameter is true, the value will be normalized between 0 and 1.

Half

16-bit float.

Float

32-bit float.

Trait Implementations

Derived Implementations

impl Clone for AttribType

fn clone(&self) -> AttribType

fn clone_from(&mut self, source: &Self)

impl Copy for AttribType

impl Debug for AttribType

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Eq for AttribType

impl PartialEq for AttribType

fn eq(&self, __arg_0: &AttribType) -> bool

fn ne(&self, __arg_0: &AttribType) -> bool