pub(crate) struct BindingTypeMaxCountValidator {
dynamic_uniform_buffers: u32,
dynamic_storage_buffers: u32,
sampled_textures: PerStageBindingTypeCounter,
samplers: PerStageBindingTypeCounter,
storage_buffers: PerStageBindingTypeCounter,
storage_textures: PerStageBindingTypeCounter,
uniform_buffers: PerStageBindingTypeCounter,
}
Fields§
§dynamic_uniform_buffers: u32
§dynamic_storage_buffers: u32
§sampled_textures: PerStageBindingTypeCounter
§samplers: PerStageBindingTypeCounter
§storage_buffers: PerStageBindingTypeCounter
§storage_textures: PerStageBindingTypeCounter
§uniform_buffers: PerStageBindingTypeCounter
Implementations§
source§impl BindingTypeMaxCountValidator
impl BindingTypeMaxCountValidator
pub(crate) fn add_binding(&mut self, binding: &BindGroupLayoutEntry)
pub(crate) fn merge(&mut self, other: &Self)
pub(crate) fn validate( &self, limits: &Limits ) -> Result<(), BindingTypeMaxCountError>
Trait Implementations§
source§impl Debug for BindingTypeMaxCountValidator
impl Debug for BindingTypeMaxCountValidator
source§impl Default for BindingTypeMaxCountValidator
impl Default for BindingTypeMaxCountValidator
source§fn default() -> BindingTypeMaxCountValidator
fn default() -> BindingTypeMaxCountValidator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BindingTypeMaxCountValidator
impl Send for BindingTypeMaxCountValidator
impl Sync for BindingTypeMaxCountValidator
impl Unpin for BindingTypeMaxCountValidator
impl UnwindSafe for BindingTypeMaxCountValidator
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