Struct gfx_hal::DownlevelProperties [−][src]
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, }
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
impl DownlevelProperties
[src]
impl DownlevelProperties
[src]pub fn all_enabled() -> Self
[src]
Enables all properties for a vulkan-complient backend.
Trait Implementations
impl Clone for DownlevelProperties
[src]
impl Clone for DownlevelProperties
[src]fn clone(&self) -> DownlevelProperties
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for DownlevelProperties
[src]
impl Copy for DownlevelProperties
[src]impl Default for DownlevelProperties
[src]
impl Default for DownlevelProperties
[src]fn default() -> DownlevelProperties
[src]
impl PartialEq<DownlevelProperties> for DownlevelProperties
[src]
impl PartialEq<DownlevelProperties> for DownlevelProperties
[src]fn eq(&self, other: &DownlevelProperties) -> bool
[src]
fn ne(&self, other: &DownlevelProperties) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for DownlevelProperties
impl RefUnwindSafe for DownlevelProperties
impl Send for DownlevelProperties
impl Send for DownlevelProperties
impl Sync for DownlevelProperties
impl Sync for DownlevelProperties
impl Unpin for DownlevelProperties
impl Unpin for DownlevelProperties
impl UnwindSafe for DownlevelProperties
impl UnwindSafe for DownlevelProperties