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: boolSupports compute shaders.
shader_model: DownlevelShaderModelWhich collections of features shaders support. Defined in terms of D3D’s shader models.
storage_images: boolSupports creating storage images.
read_only_depth_stencil: boolSupports RODS
device_local_image_copies: boolSupports copies to/from device-local memory and device-local images.
non_power_of_two_mipmapped_textures: boolSupports 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 DownlevelPropertiesimpl Send for DownlevelProperties
impl Send for DownlevelPropertiesimpl Sync for DownlevelProperties
impl Sync for DownlevelPropertiesimpl Unpin for DownlevelProperties
impl Unpin for DownlevelPropertiesimpl UnwindSafe for DownlevelProperties
impl UnwindSafe for DownlevelProperties