Struct gfx::device::shade::BlockVar [] [src]

pub struct BlockVar {
    pub name: String,
    pub size: usize,
    pub usage: u8,
}

A uniform block.

Fields

name

Name of this uniform block.

size

Size (in bytes) of this uniform block's data.

usage

What program stage this uniform block can be used in, as a bitflag.

Trait Implementations

Derived Implementations

impl Debug for BlockVar

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

impl PartialEq for BlockVar

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

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

impl Clone for BlockVar

fn clone(&self) -> BlockVar

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