#[repr(C)]pub struct FilterChainOptionsVulkan {
pub frames_in_flight: u32,
pub force_no_mipmaps: bool,
pub use_dynamic_rendering: bool,
pub disable_cache: bool,
}Expand description
Options for filter chain creation.
Fields§
§frames_in_flight: u32The number of frames in flight to keep. If zero, defaults to three.
force_no_mipmaps: boolWhether or not to explicitly disable mipmap generation regardless of shader preset settings.
use_dynamic_rendering: boolUse dynamic rendering instead of explicit render pass objects. It is recommended if possible to use dynamic rendering, because render-pass mode will create new framebuffers per pass.
disable_cache: boolDisable the shader object cache. Shaders will be recompiled rather than loaded from the cache.
Trait Implementations§
Source§impl Clone for FilterChainOptionsVulkan
impl Clone for FilterChainOptionsVulkan
Source§fn clone(&self) -> FilterChainOptionsVulkan
fn clone(&self) -> FilterChainOptionsVulkan
Returns a duplicate 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 FilterChainOptionsVulkan
impl Debug for FilterChainOptionsVulkan
Source§impl Default for FilterChainOptionsVulkan
impl Default for FilterChainOptionsVulkan
Source§fn default() -> FilterChainOptionsVulkan
fn default() -> FilterChainOptionsVulkan
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FilterChainOptionsVulkan
impl RefUnwindSafe for FilterChainOptionsVulkan
impl Send for FilterChainOptionsVulkan
impl Sync for FilterChainOptionsVulkan
impl Unpin for FilterChainOptionsVulkan
impl UnwindSafe for FilterChainOptionsVulkan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more