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

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

A uniform block.

Fields

name: String

Name of this uniform block.

size: usize

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

usage: u8

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

Trait Implementations

impl Debug for BlockVar
[src]

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

Formats the value using the given formatter.

impl PartialEq for BlockVar
[src]

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

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

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

This method tests for !=.

impl Clone for BlockVar
[src]

fn clone(&self) -> BlockVar

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more