Class VkPerformanceOverrideInfoINTEL

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

    public class VkPerformanceOverrideInfoINTEL
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Performance override info.
    Valid Usage (Implicit)
    See Also

    CmdSetPerformanceOverrideINTEL

    Member documentation

    • type – the particular VkPerformanceOverrideTypeINTEL to set.
    • enable – defines whether the override is enabled.
    • parameter – a potential required parameter for the override.

    Layout

    
     struct VkPerformanceOverrideInfoINTEL {
         VkStructureType sType;
         void const * pNext;
         VkPerformanceOverrideTypeINTEL type;
         VkBool32 enable;
         uint64_t parameter;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, TYPE, ENABLE, PARAMETER

        The struct member offsets.
    • Constructor Detail

      • VkPerformanceOverrideInfoINTEL

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

        public int type()
        Returns the value of the type field.
      • enable

        public boolean enable()
        Returns the value of the enable field.
      • parameter

        public long parameter()
        Returns the value of the parameter field.
      • set

        public VkPerformanceOverrideInfoINTEL set​(int sType,
                                                  long pNext,
                                                  int type,
                                                  boolean enable,
                                                  long parameter)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

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

        public static VkPerformanceOverrideInfoINTEL callocStack​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkPerformanceOverrideInfoINTEL 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().
      • ntype

        public static int ntype​(long struct)
        Unsafe version of type().
      • nenable

        public static int nenable​(long struct)
        Unsafe version of enable().
      • nparameter

        public static long nparameter​(long struct)
        Unsafe version of parameter().
      • 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.
      • ntype

        public static void ntype​(long struct,
                                 int value)
        Unsafe version of type.
      • nenable

        public static void nenable​(long struct,
                                   int value)
        Unsafe version of enable.
      • nparameter

        public static void nparameter​(long struct,
                                      long value)
        Unsafe version of parameter.