Struct librashader_reflect::reflect::semantics::ShaderReflection
source · pub struct ShaderReflection {
pub ubo: Option<BufferReflection<u32>>,
pub push_constant: Option<BufferReflection<Option<u32>>>,
pub meta: BindingMeta,
}Expand description
Reflection information about a shader.
Fields§
§ubo: Option<BufferReflection<u32>>Reflection information about the UBO for this shader.
push_constant: Option<BufferReflection<Option<u32>>>Reflection information about the Push Constant range for this shader.
meta: BindingMetaMetadata about the bindings required for this shader.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ShaderReflection
impl Send for ShaderReflection
impl Sync for ShaderReflection
impl Unpin for ShaderReflection
impl UnwindSafe for ShaderReflection
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