Struct librashader_reflect::reflect::semantics::BufferReflection
source · pub struct BufferReflection<T> {
pub binding: T,
pub size: u32,
pub stage_mask: BindingStage,
}Expand description
Reflection information for the Uniform Buffer or Push Constant Block
Fields§
§binding: TThe binding point for this buffer, if applicable
size: u32The size of the buffer. Buffer sizes returned by reflection is always aligned to a 16 byte boundary.
stage_mask: BindingStageThe mask indicating for which stages the UBO should be bound.
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for BufferReflection<T>where
T: RefUnwindSafe,
impl<T> Send for BufferReflection<T>where
T: Send,
impl<T> Sync for BufferReflection<T>where
T: Sync,
impl<T> Unpin for BufferReflection<T>where
T: Unpin,
impl<T> UnwindSafe for BufferReflection<T>where
T: UnwindSafe,
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