Class VkClearDepthStencilValue

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

    public class VkClearDepthStencilValue
    extends Struct
    implements NativeResource
    Structure specifying a clear depth stencil value.
    Valid Usage
    See Also

    VkClearValue, CmdClearDepthStencilImage

    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;
     }