Class VkClearDepthStencilValue

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer


    public class VkClearDepthStencilValue
    extends Struct
    Khronos Reference Page
    Vulkan Specification

    Specifies the depth and stencil clear values to use when clearing a depth/stencil image or attachment.

    Member documentation

    • depth – the clear value for the depth aspect of the depth/stencil attachment. It is a floating-point value which is automatically converted to the attachment’s format.
    • stencil – the clear value for the stencil aspect of the depth/stencil attachment. It is a 32-bit integer value which is converted to the attachment’s format by taking the appropriate number of LSBs.

    Layout

    struct VkClearDepthStencilValue {
        float depth;
        uint32_t stencil;
    }