#[repr(i32)]
pub enum ValidationFeatureDisable {
All,
Shaders,
ThreadSafety,
ApiParameters,
ObjectLifetimes,
CoreChecks,
UniqueHandles,
ShaderValidationCache,
}
Expand description
Features of the validation layer to disable.
Variants
All
All validation is disabled.
Shaders
Shader validation is disabled.
ThreadSafety
Thread safety validation is disabled.
ApiParameters
Stateless parameter validation is disabled.
ObjectLifetimes
Object lifetime validation is disabled.
CoreChecks
Core validation checks are disabled.
This also disables shader validation and GPU-assisted validation.
UniqueHandles
Protection against duplicate non-dispatchable handles is disabled.
ShaderValidationCache
Results of shader validation will not be cached, and are validated from scratch each time.
Trait Implementations
sourceimpl Clone for ValidationFeatureDisable
impl Clone for ValidationFeatureDisable
sourcefn clone(&self) -> ValidationFeatureDisable
fn clone(&self) -> ValidationFeatureDisable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ValidationFeatureDisable
impl Debug for ValidationFeatureDisable
sourceimpl From<ValidationFeatureDisable> for ValidationFeatureDisableEXT
impl From<ValidationFeatureDisable> for ValidationFeatureDisableEXT
sourcefn from(val: ValidationFeatureDisable) -> Self
fn from(val: ValidationFeatureDisable) -> Self
Converts to this type from the input type.
sourceimpl Hash for ValidationFeatureDisable
impl Hash for ValidationFeatureDisable
sourceimpl PartialEq<ValidationFeatureDisable> for ValidationFeatureDisable
impl PartialEq<ValidationFeatureDisable> for ValidationFeatureDisable
sourcefn eq(&self, other: &ValidationFeatureDisable) -> bool
fn eq(&self, other: &ValidationFeatureDisable) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more