Struct wgpu::core::validation::Interface
source · pub struct Interface { /* private fields */ }
Available on
wgpu_core
only.Implementations§
source§impl Interface
impl Interface
pub fn new( module: &Module, info: &ModuleInfo, limits: Limits, features: Features ) -> Interface
pub fn finalize_entry_point_name( &self, stage_bit: ShaderStages, entry_point_name: Option<&str> ) -> Result<String, StageError>
pub fn check_stage( &self, layouts: &mut BindingLayoutSource<'_>, shader_binding_sizes: &mut HashMap<ResourceBinding, NonZero<u64>, BuildHasherDefault<FxHasher>>, entry_point_name: &str, stage_bit: ShaderStages, inputs: HashMap<u32, InterfaceVar, BuildHasherDefault<FxHasher>>, compare_function: Option<CompareFunction> ) -> Result<HashMap<u32, InterfaceVar, BuildHasherDefault<FxHasher>>, StageError>
pub fn fragment_uses_dual_source_blending( &self, entry_point_name: &str ) -> Result<bool, StageError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Interface
impl RefUnwindSafe for Interface
impl Send for Interface
impl Sync for Interface
impl Unpin for Interface
impl UnwindSafe for Interface
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