Enum vulkano::instance::debug::ValidationFeatureDisable
source · #[non_exhaustive]#[repr(i32)]pub enum ValidationFeatureDisable {
All = 0,
Shaders = 1,
ThreadSafety = 2,
ApiParameters = 3,
ObjectLifetimes = 4,
CoreChecks = 5,
UniqueHandles = 6,
ShaderValidationCache = 7,
}
Expand description
Features of the validation layer to disable.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
All = 0
All validation is disabled.
Shaders = 1
Shader validation is disabled.
ThreadSafety = 2
Thread safety validation is disabled.
ApiParameters = 3
Stateless parameter validation is disabled.
ObjectLifetimes = 4
Object lifetime validation is disabled.
CoreChecks = 5
Core validation checks are disabled.
This also disables shader validation and GPU-assisted validation.
UniqueHandles = 6
Protection against duplicate non-dispatchable handles is disabled.
ShaderValidationCache = 7
Results of shader validation will not be cached, and are validated from scratch each time.
Trait Implementations§
source§impl Clone for ValidationFeatureDisable
impl Clone for ValidationFeatureDisable
source§fn clone(&self) -> ValidationFeatureDisable
fn clone(&self) -> ValidationFeatureDisable
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ValidationFeatureDisable
impl Debug for ValidationFeatureDisable
source§impl From<ValidationFeatureDisable> for ValidationFeatureDisableEXT
impl From<ValidationFeatureDisable> for ValidationFeatureDisableEXT
source§fn from(val: ValidationFeatureDisable) -> Self
fn from(val: ValidationFeatureDisable) -> Self
Converts to this type from the input type.
source§impl Hash for ValidationFeatureDisable
impl Hash for ValidationFeatureDisable
source§impl PartialEq for ValidationFeatureDisable
impl PartialEq for ValidationFeatureDisable
source§fn eq(&self, other: &ValidationFeatureDisable) -> bool
fn eq(&self, other: &ValidationFeatureDisable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ValidationFeatureDisable
impl Eq for ValidationFeatureDisable
impl StructuralEq for ValidationFeatureDisable
impl StructuralPartialEq for ValidationFeatureDisable
Auto Trait Implementations§
impl RefUnwindSafe for ValidationFeatureDisable
impl Send for ValidationFeatureDisable
impl Sync for ValidationFeatureDisable
impl Unpin for ValidationFeatureDisable
impl UnwindSafe for ValidationFeatureDisable
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