Class VkCuFunctionCreateInfoNVX

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

public class VkCuFunctionCreateInfoNVX extends org.lwjgl.system.Struct<VkCuFunctionCreateInfoNVX> implements org.lwjgl.system.NativeResource
Stub description of VkCuFunctionCreateInfoNVX.
Valid Usage (Implicit)
See Also

CreateCuFunctionNVX

Layout


 struct VkCuFunctionCreateInfoNVX {
     VkStructureType sType;
     void const * pNext;
     VkCuModuleNVX module;
     char const * pName;
 }
  • 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.
    • MODULE

      public static final int MODULE
      The struct member offsets.
    • PNAME

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

    • VkCuFunctionCreateInfoNVX

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

    • sizeof

      public int sizeof()
      Specified by:
      sizeof in class org.lwjgl.system.Struct<VkCuFunctionCreateInfoNVX>
    • sType

      public int sType()
      Returns:
      the value of the sType field.
    • pNext

      public long pNext()
      Returns:
      the value of the pNext field.
    • module

      public long module()
      Returns:
      the value of the module field.
    • pName

      public ByteBuffer pName()
      Returns:
      a ByteBuffer view of the null-terminated string pointed to by the pName field.
    • pNameString

      public String pNameString()
      Returns:
      the null-terminated string pointed to by the pName field.
    • sType

      public VkCuFunctionCreateInfoNVX sType(int value)
      Sets the specified value to the sType field.
    • sType$Default

      public VkCuFunctionCreateInfoNVX sType$Default()
      Sets the STRUCTURE_TYPE_CU_FUNCTION_CREATE_INFO_NVX value to the sType field.
    • pNext

      public VkCuFunctionCreateInfoNVX pNext(long value)
      Sets the specified value to the pNext field.
    • module

      public VkCuFunctionCreateInfoNVX module(long value)
      Sets the specified value to the module field.
    • pName

      public VkCuFunctionCreateInfoNVX pName(ByteBuffer value)
      Sets the address of the specified encoded string to the pName field.
    • set

      public VkCuFunctionCreateInfoNVX set(int sType, long pNext, long module, ByteBuffer pName)
      Initializes this struct with the specified values.
    • set

      Copies the specified struct data to this struct.
      Parameters:
      src - the source struct
      Returns:
      this struct
    • malloc

      public static VkCuFunctionCreateInfoNVX malloc()
      Returns a new VkCuFunctionCreateInfoNVX instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      public static VkCuFunctionCreateInfoNVX calloc()
      Returns a new VkCuFunctionCreateInfoNVX instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      public static VkCuFunctionCreateInfoNVX create()
      Returns a new VkCuFunctionCreateInfoNVX instance allocated with BufferUtils.
    • create

      public static VkCuFunctionCreateInfoNVX create(long address)
      Returns a new VkCuFunctionCreateInfoNVX instance for the specified memory address.
    • createSafe

      public static @Nullable VkCuFunctionCreateInfoNVX createSafe(long address)
      Like create, but returns null if address is NULL.
    • malloc

      public static VkCuFunctionCreateInfoNVX.Buffer malloc(int capacity)
      Returns a new VkCuFunctionCreateInfoNVX.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static VkCuFunctionCreateInfoNVX.Buffer calloc(int capacity)
      Returns a new VkCuFunctionCreateInfoNVX.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkCuFunctionCreateInfoNVX.Buffer create(int capacity)
      Returns a new VkCuFunctionCreateInfoNVX.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkCuFunctionCreateInfoNVX.Buffer create(long address, int capacity)
      Create a VkCuFunctionCreateInfoNVX.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable VkCuFunctionCreateInfoNVX.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • malloc

      public static VkCuFunctionCreateInfoNVX malloc(org.lwjgl.system.MemoryStack stack)
      Returns a new VkCuFunctionCreateInfoNVX instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      public static VkCuFunctionCreateInfoNVX calloc(org.lwjgl.system.MemoryStack stack)
      Returns a new VkCuFunctionCreateInfoNVX instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

      public static VkCuFunctionCreateInfoNVX.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new VkCuFunctionCreateInfoNVX.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static VkCuFunctionCreateInfoNVX.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new VkCuFunctionCreateInfoNVX.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • nsType

      public static int nsType(long struct)
      Unsafe version of sType().
    • npNext

      public static long npNext(long struct)
      Unsafe version of pNext().
    • nmodule

      public static long nmodule(long struct)
      Unsafe version of module().
    • npName

      public static ByteBuffer npName(long struct)
      Unsafe version of pName().
    • npNameString

      public static String npNameString(long struct)
      Unsafe version of pNameString().
    • nsType

      public static void nsType(long struct, int value)
      Unsafe version of sType.
    • npNext

      public static void npNext(long struct, long value)
      Unsafe version of pNext.
    • nmodule

      public static void nmodule(long struct, long value)
      Unsafe version of module.
    • npName

      public static void npName(long struct, ByteBuffer value)
      Unsafe version of pName.
    • validate

      public static void validate(long struct)
      Validates pointer members that should not be NULL.
      Parameters:
      struct - the struct to validate