Struct glium::program::UniformBlock
source · pub struct UniformBlock {
pub id: i32,
pub initial_binding: i32,
pub size: usize,
pub layout: BlockLayout,
}
Expand description
Information about a uniform block (except its name).
Fields§
§id: i32
Identifier of the block.
This is internal information, you probably don’t need to use it.
initial_binding: i32
Initial bind point of the block.
This is internal information, you probably don’t need to use it.
size: usize
Size in bytes of the data in the block.
layout: BlockLayout
Layout of the block.
Trait Implementations§
source§impl Clone for UniformBlock
impl Clone for UniformBlock
source§fn clone(&self) -> UniformBlock
fn clone(&self) -> UniformBlock
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for UniformBlock
impl Send for UniformBlock
impl Sync for UniformBlock
impl Unpin for UniformBlock
impl UnwindSafe for UniformBlock
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more