Struct naga::back::glsl::ReflectionInfo
source · pub struct ReflectionInfo {
pub texture_mapping: FastHashMap<String, TextureMapping>,
pub uniforms: FastHashMap<Handle<GlobalVariable>, String>,
pub varying: FastHashMap<String, VaryingLocation>,
pub push_constant_items: Vec<PushConstantItem>,
}
Expand description
Reflection info for texture mappings and uniforms.
Fields§
§texture_mapping: FastHashMap<String, TextureMapping>
Mapping between texture names and variables/samplers.
uniforms: FastHashMap<Handle<GlobalVariable>, String>
Mapping between uniform variables and names.
varying: FastHashMap<String, VaryingLocation>
Mapping between names and attribute locations.
push_constant_items: Vec<PushConstantItem>
List of push constant items in the shader.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReflectionInfo
impl RefUnwindSafe for ReflectionInfo
impl Send for ReflectionInfo
impl Sync for ReflectionInfo
impl Unpin for ReflectionInfo
impl UnwindSafe for ReflectionInfo
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