Struct wgpu_hal::gles::device::CompilationContext
source · struct CompilationContext<'a> {
layout: &'a PipelineLayout,
sampler_map: &'a mut [Option<u8>; 16],
name_binding_map: &'a mut FxHashMap<String, (BindingRegister, u8)>,
push_constant_items: &'a mut Vec<PushConstantItem>,
multiview: Option<NonZeroU32>,
}
Fields§
§layout: &'a PipelineLayout
§sampler_map: &'a mut [Option<u8>; 16]
§name_binding_map: &'a mut FxHashMap<String, (BindingRegister, u8)>
§push_constant_items: &'a mut Vec<PushConstantItem>
§multiview: Option<NonZeroU32>
Implementations§
source§impl CompilationContext<'_>
impl CompilationContext<'_>
fn consume_reflection( self, gl: &Context, module: &Module, ep_info: &FunctionInfo, reflection_info: ReflectionInfo, naga_stage: ShaderStage, program: Program, )
Auto Trait Implementations§
impl<'a> Freeze for CompilationContext<'a>
impl<'a> RefUnwindSafe for CompilationContext<'a>
impl<'a> Send for CompilationContext<'a>
impl<'a> Sync for CompilationContext<'a>
impl<'a> Unpin for CompilationContext<'a>
impl<'a> !UnwindSafe for CompilationContext<'a>
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