pub enum LimitType {
Show 27 variants
BindGroups,
DynamicUniformBuffersPerPipelineLayout,
DynamicStorageBuffersPerPipelineLayout,
SampledTexturesPerShaderStages,
SamplersPerShaderStages,
StorageBuffersPerShaderStages,
StorageTexturesPerShaderStages,
UniformBuffersPerShaderStages,
UniformBufferBindingSize,
UniformBufferBindingAlignment,
StorageBufferBindingAlignment,
PushConstantSize,
MaxTextureDimension1d,
MaxTextureDimension2d,
MaxTextureDimension3d,
MaxTextureArrayLayers,
MaxStorageBufferBindingSize,
MaxVertexBuffers,
MaxVertexAttributes,
MaxVertexBufferArrayStride,
MaxInterStageShaderComponents,
MaxComputeWorkgroupStorageSize,
MaxComputeInvocationsPerWorkgroup,
MaxComputeWorkgroupSizeX,
MaxComputeWorkgroupSizeY,
MaxComputeWorkgroupSizeZ,
MaxComputeWorkgroupsPerDimension,
}
Expand description
Enum mapping to each of a device’s limit.
Variants
BindGroups
DynamicUniformBuffersPerPipelineLayout
DynamicStorageBuffersPerPipelineLayout
SampledTexturesPerShaderStages
SamplersPerShaderStages
StorageBuffersPerShaderStages
StorageTexturesPerShaderStages
UniformBuffersPerShaderStages
UniformBufferBindingSize
UniformBufferBindingAlignment
StorageBufferBindingAlignment
PushConstantSize
MaxTextureDimension1d
MaxTextureDimension2d
MaxTextureDimension3d
MaxTextureArrayLayers
MaxStorageBufferBindingSize
MaxVertexBuffers
MaxVertexAttributes
MaxVertexBufferArrayStride
MaxInterStageShaderComponents
MaxComputeWorkgroupStorageSize
MaxComputeInvocationsPerWorkgroup
MaxComputeWorkgroupSizeX
MaxComputeWorkgroupSizeY
MaxComputeWorkgroupSizeZ
MaxComputeWorkgroupsPerDimension
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LimitType
impl Send for LimitType
impl Sync for LimitType
impl Unpin for LimitType
impl UnwindSafe for LimitType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more