Struct wgpu_core::validation::Interface
source · pub struct Interface { /* private fields */ }
Implementations§
source§impl Interface
impl Interface
pub fn new( module: &Module, info: &ModuleInfo, limits: Limits, features: Features ) -> Self
pub fn check_stage( &self, layouts: &mut BindingLayoutSource<'_>, shader_binding_sizes: &mut HashMap<ResourceBinding, BufferSize, BuildHasherDefault<FxHasher>>, entry_point_name: &str, stage_bit: ShaderStages, inputs: StageIo, compare_function: Option<CompareFunction> ) -> Result<StageIo, StageError>
pub fn fragment_uses_dual_source_blending( &self, entry_point_name: &str ) -> Result<bool, StageError>
Trait Implementations§
Auto Trait Implementations§
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