pub struct DownlevelProperties {
pub compute_shaders: bool,
pub shader_model: DownlevelShaderModel,
pub storage_images: bool,
pub read_only_depth_stencil: bool,
pub device_local_image_copies: bool,
pub non_power_of_two_mipmapped_textures: bool,
}
Expand description
Propterties to indicate when the backend does not support full vulkan compliance.
Fields§
§compute_shaders: bool
Supports compute shaders.
shader_model: DownlevelShaderModel
Which collections of features shaders support. Defined in terms of D3D’s shader models.
storage_images: bool
Supports creating storage images.
read_only_depth_stencil: bool
Supports RODS
device_local_image_copies: bool
Supports copies to/from device-local memory and device-local images.
non_power_of_two_mipmapped_textures: bool
Supports textures with mipmaps which are non power of two.
Implementations§
Source§impl DownlevelProperties
impl DownlevelProperties
Sourcepub fn all_enabled() -> Self
pub fn all_enabled() -> Self
Enables all properties for a vulkan-complient backend.
Trait Implementations§
Source§impl Clone for DownlevelProperties
impl Clone for DownlevelProperties
Source§fn clone(&self) -> DownlevelProperties
fn clone(&self) -> DownlevelProperties
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 DownlevelProperties
impl Debug for DownlevelProperties
Source§impl Default for DownlevelProperties
impl Default for DownlevelProperties
Source§fn default() -> DownlevelProperties
fn default() -> DownlevelProperties
Returns the “default value” for a type. Read more
Source§impl PartialEq for DownlevelProperties
impl PartialEq for DownlevelProperties
impl Copy for DownlevelProperties
impl StructuralPartialEq for DownlevelProperties
Auto Trait Implementations§
impl Freeze for DownlevelProperties
impl RefUnwindSafe for DownlevelProperties
impl Send for DownlevelProperties
impl Sync for DownlevelProperties
impl Unpin for DownlevelProperties
impl UnwindSafe for DownlevelProperties
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