Class VkClearColorValue

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkClearColorValue extends Struct<VkClearColorValue> implements NativeResource

 union VkClearColorValue {
     float float32[4];
     int32_t int32[4];
     uint32_t uint32[4];
 }
  • Field Details

    • SIZEOF

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

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

      public static final int FLOAT32
      The struct member offsets.
    • INT32

      public static final int INT32
      The struct member offsets.
    • UINT32

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

    • VkClearColorValue

      public VkClearColorValue(ByteBuffer container)
      Creates a VkClearColorValue 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