Struct imgui_rs_vulkan_renderer::Options
source · pub struct Options {
pub in_flight_frames: usize,
pub enable_depth_test: bool,
pub enable_depth_write: bool,
}
Expand description
Optional parameters of the renderer.
Fields§
§in_flight_frames: usize
The number of in flight frames of the application.
enable_depth_test: bool
If true enables depth test when rendering.
enable_depth_write: bool
If true enables depth writes when rendering.
Note that depth writes are always disabled when enable_depth_test is false. See https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineDepthStencilStateCreateInfo.html
Trait Implementations§
impl Copy for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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