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: i32Identifier of the block.
This is internal information, you probably don’t need to use it.
initial_binding: i32Initial bind point of the block.
This is internal information, you probably don’t need to use it.
size: usizeSize in bytes of the data in the block.
layout: BlockLayoutLayout 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 duplicate 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 Freeze for UniformBlock
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