pub struct ReflectionInfo {
pub texture_mapping: HashMap<String, TextureMapping, BuildHasherDefault<FxHasher>>,
pub uniforms: HashMap<Handle<GlobalVariable>, String, BuildHasherDefault<FxHasher>>,
pub varying: HashMap<String, VaryingLocation, BuildHasherDefault<FxHasher>>,
pub push_constant_items: Vec<PushConstantItem>,
}
Expand description
Reflection info for texture mappings and uniforms.
Fields§
§texture_mapping: HashMap<String, TextureMapping, BuildHasherDefault<FxHasher>>
Mapping between texture names and variables/samplers.
uniforms: HashMap<Handle<GlobalVariable>, String, BuildHasherDefault<FxHasher>>
Mapping between uniform variables and names.
varying: HashMap<String, VaryingLocation, BuildHasherDefault<FxHasher>>
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 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