Class VkQueryPoolCreateInfoINTEL

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

    public class VkQueryPoolCreateInfoINTEL
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure specifying parameters to create a pool of performance queries.
    Valid Usage (Implicit)

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • performanceCountersSampling – describe how performance queries should be captured.

    Layout

    
     struct VkQueryPoolCreateInfoINTEL {
         VkStructureType sType;
         void const * pNext;
         VkQueryPoolSamplingModeINTEL performanceCountersSampling;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, PERFORMANCECOUNTERSSAMPLING

        The struct member offsets.
    • Constructor Detail

      • VkQueryPoolCreateInfoINTEL

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

        public int performanceCountersSampling()
        Returns the value of the performanceCountersSampling field.
      • performanceCountersSampling

        public VkQueryPoolCreateInfoINTEL performanceCountersSampling​(int value)
        Sets the specified value to the performanceCountersSampling field.
      • set

        public VkQueryPoolCreateInfoINTEL set​(int sType,
                                              long pNext,
                                              int performanceCountersSampling)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

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

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

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

        public static VkQueryPoolCreateInfoINTEL.Buffer callocStack​(int capacity,
                                                                    org.lwjgl.system.MemoryStack stack)
        Returns a new VkQueryPoolCreateInfoINTEL.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().
      • nperformanceCountersSampling

        public static int nperformanceCountersSampling​(long struct)
      • 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.
      • nperformanceCountersSampling

        public static void nperformanceCountersSampling​(long struct,
                                                        int value)
        Unsafe version of performanceCountersSampling.