Class VkClearDepthStencilValue

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkClearDepthStencilValue extends Struct<VkClearDepthStencilValue> implements NativeResource

 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