Class VkPushConstantsInfo

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer
Direct Known Subclasses:
VkPushConstantsInfoKHR

public class VkPushConstantsInfo extends Struct<VkPushConstantsInfo> implements NativeResource
struct VkPushConstantsInfo {
    VkStructureType sType;
    void const * pNext;
    VkPipelineLayout layout;
    VkShaderStageFlags stageFlags;
    uint32_t offset;
    uint32_t size;
    void const * pValues;
}
  • Field Details

    • SIZEOF

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

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

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • LAYOUT

      public static final int LAYOUT
      The struct member offsets.
    • STAGEFLAGS

      public static final int STAGEFLAGS
      The struct member offsets.
    • OFFSET

      public static final int OFFSET
      The struct member offsets.
    • SIZE

      public static final int SIZE
      The struct member offsets.
    • PVALUES

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

    • VkPushConstantsInfo

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