Class VkPipelineShaderStageCreateInfo

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

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

        The struct member offsets.
    • Constructor Detail

      • VkPipelineShaderStageCreateInfo

        public VkPipelineShaderStageCreateInfo​(java.nio.ByteBuffer container)
        Creates a VkPipelineShaderStageCreateInfo 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.
      • flags

        public int flags()
        Returns the value of the flags field.
      • stage

        public int stage()
        Returns the value of the stage 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()
        Decodes the null-terminated string pointed to by the pName field.
      • malloc

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

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

        public static VkPipelineShaderStageCreateInfo create​(long address)
        Returns a new VkPipelineShaderStageCreateInfo instance for the specified memory address.
      • mallocStack

        public static VkPipelineShaderStageCreateInfo mallocStack()
        Returns a new VkPipelineShaderStageCreateInfo instance allocated on the thread-local MemoryStack.
      • callocStack

        public static VkPipelineShaderStageCreateInfo callocStack()
        Returns a new VkPipelineShaderStageCreateInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero.
      • mallocStack

        public static VkPipelineShaderStageCreateInfo mallocStack​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkPipelineShaderStageCreateInfo instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • callocStack

        public static VkPipelineShaderStageCreateInfo callocStack​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkPipelineShaderStageCreateInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        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().
      • nflags

        public static int nflags​(long struct)
        Unsafe version of flags().
      • nstage

        public static int nstage​(long struct)
        Unsafe version of stage().
      • 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.
      • nflags

        public static void nflags​(long struct,
                                  int value)
        Unsafe version of flags.
      • nstage

        public static void nstage​(long struct,
                                  int value)
        Unsafe version of stage.
      • 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
      • validate

        public static void validate​(long array,
                                    int count)
        Calls validate(long) for each struct contained in the specified struct array.
        Parameters:
        array - the struct array to validate
        count - the number of structs in array