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

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

Information about a uniform block (except its name).

Fields

binding

The binding 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