Class VkCuFunctionCreateInfoNVX

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class VkCuFunctionCreateInfoNVX
    extends org.lwjgl.system.Struct
    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 Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, MODULE, PNAME

        The struct member offsets.
    • Constructor Detail

      • VkCuFunctionCreateInfoNVX

        public VkCuFunctionCreateInfoNVX​(java.nio.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 Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • 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 java.nio.ByteBuffer pName()
        Returns:
        a ByteBuffer view of the null-terminated string pointed to by the pName field.
      • pNameString

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

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

        public VkCuFunctionCreateInfoNVX set​(int sType,
                                             long pNext,
                                             long module,
                                             java.nio.ByteBuffer pName)
        Initializes this struct with the specified values.
      • 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.
      • 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
      • 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:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • 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 java.nio.ByteBuffer npName​(long struct)
        Unsafe version of pName().
      • npNameString

        public static java.lang.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,
                                  java.nio.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