pub trait FeatureRequests {
const ENABLE_GEOMETRY_SHADER: bool = false;
const ENABLE_TESSELLATION_SHADER: bool = false;
const USE_STORAGE_BUFFERS_IN_VERTEX_SHADER: bool = false;
const SPARSE_BINDING: bool = false;
const SPARSE_RESIDENCY_SUPPORT_BITS: SparseResidencySupportBits = SparseResidencySupportBits::EMPTY;
// Provided method
fn requested_features() -> VkPhysicalDeviceFeatures { ... }
}
Provided Associated Constants§
const ENABLE_GEOMETRY_SHADER: bool = false
const ENABLE_TESSELLATION_SHADER: bool = false
const USE_STORAGE_BUFFERS_IN_VERTEX_SHADER: bool = false
const SPARSE_BINDING: bool = false
const SPARSE_RESIDENCY_SUPPORT_BITS: SparseResidencySupportBits = SparseResidencySupportBits::EMPTY
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.