#[repr(C)]pub struct VkPipelineDepthStencilStateCreateInfo {
pub sType: VkStructureType,
pub pNext: *const c_void,
pub flags: VkPipelineDepthStencilStateCreateFlags,
pub depthTestEnable: VkBool32,
pub depthWriteEnable: VkBool32,
pub depthCompareOp: VkCompareOp,
pub depthBoundsTestEnable: VkBool32,
pub stencilTestEnable: VkBool32,
pub front: VkStencilOpState,
pub back: VkStencilOpState,
pub minDepthBounds: c_float,
pub maxDepthBounds: c_float,
}Fields§
§sType: VkStructureType§pNext: *const c_void§flags: VkPipelineDepthStencilStateCreateFlags§depthTestEnable: VkBool32§depthWriteEnable: VkBool32§depthCompareOp: VkCompareOp§depthBoundsTestEnable: VkBool32§stencilTestEnable: VkBool32§front: VkStencilOpState§back: VkStencilOpState§minDepthBounds: c_float§maxDepthBounds: c_floatTrait Implementations§
Source§impl TypedVulkanStructure for VkPipelineDepthStencilStateCreateInfo
impl TypedVulkanStructure for VkPipelineDepthStencilStateCreateInfo
Source§const TYPE: VkStructureType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO
const TYPE: VkStructureType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO
sType of this structure
Source§fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>where
Self: Sized,
fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>where
Self: Sized,
Cast structure ref only if sType matches
Source§impl VulkanStructure for VkPipelineDepthStencilStateCreateInfo
impl VulkanStructure for VkPipelineDepthStencilStateCreateInfo
Source§fn as_generic(&self) -> &GenericVulkanStructure
fn as_generic(&self) -> &GenericVulkanStructure
Cast structure ref to generic. This is same as transmute but must be safe.
Source§fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
Cast structure mutable ref to generic. This is same as transmute but must be safe.
Auto Trait Implementations§
impl !Send for VkPipelineDepthStencilStateCreateInfo
impl !Sync for VkPipelineDepthStencilStateCreateInfo
impl Freeze for VkPipelineDepthStencilStateCreateInfo
impl RefUnwindSafe for VkPipelineDepthStencilStateCreateInfo
impl Unpin for VkPipelineDepthStencilStateCreateInfo
impl UnsafeUnpin for VkPipelineDepthStencilStateCreateInfo
impl UnwindSafe for VkPipelineDepthStencilStateCreateInfo
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