Class VkClearDepthStencilValue

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkClearDepthStencilValue>
org.lwjgl.vulkan.VkClearDepthStencilValue
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkClearDepthStencilValue extends org.lwjgl.system.Struct<VkClearDepthStencilValue> implements org.lwjgl.system.NativeResource
Structure specifying a clear depth stencil value.
Valid Usage
See Also

VkClearValue, CmdClearDepthStencilImage

Layout


 struct VkClearDepthStencilValue {
     float depth();
     uint32_t stencil();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • DEPTH

      public static final int DEPTH
      The struct member offsets.
    • STENCIL

      public static final int STENCIL
      The struct member offsets.
  • Constructor Details

    • VkClearDepthStencilValue

      public VkClearDepthStencilValue(ByteBuffer container)
      Creates a VkClearDepthStencilValue instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details