Struct glium::program::UniformBlock [] [src]

pub struct UniformBlock {
    pub id: i32,
    pub initial_binding: i32,
    pub size: usize,
    pub layout: BlockLayout,
}

Information about a uniform block (except its name).

Fields

id

Indentifier of the block.

This is internal information, you probably don't need to use it.

initial_binding

Initial bind point of the block.

This is internal information, you probably don't need to use it.

size

Size in bytes of the data in the block.

layout

Layout of the block.

Trait Implementations

Derived Implementations

impl Clone for UniformBlock

fn clone(&self) -> UniformBlock

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

impl Debug for UniformBlock

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