Package org.lwjgl.vulkan
Class VkInitializePerformanceApiInfoINTEL
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkInitializePerformanceApiInfoINTEL
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkInitializePerformanceApiInfoINTEL extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying parameters of initialize of the device.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_INITIALIZE_PERFORMANCE_API_INFO_INTELpNextmust beNULL
See Also
Member documentation
sType– the type of this structure.pNext–NULLor a pointer to an extension-specific structure.pUserData– a pointer for application data.
Layout
struct VkInitializePerformanceApiInfoINTEL { VkStructureType sType; void const * pNext; void * pUserData; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkInitializePerformanceApiInfoINTEL.BufferAn array ofVkInitializePerformanceApiInfoINTELstructs.
-
Constructor Summary
Constructors Constructor Description VkInitializePerformanceApiInfoINTEL(java.nio.ByteBuffer container)Creates aVkInitializePerformanceApiInfoINTELinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkInitializePerformanceApiInfoINTELcalloc()Returns a newVkInitializePerformanceApiInfoINTELinstance allocated withmemCalloc.static VkInitializePerformanceApiInfoINTEL.Buffercalloc(int capacity)Returns a newVkInitializePerformanceApiInfoINTEL.Bufferinstance allocated withmemCalloc.static VkInitializePerformanceApiInfoINTELcallocStack()Returns a newVkInitializePerformanceApiInfoINTELinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkInitializePerformanceApiInfoINTEL.BuffercallocStack(int capacity)Returns a newVkInitializePerformanceApiInfoINTEL.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkInitializePerformanceApiInfoINTEL.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkInitializePerformanceApiInfoINTEL.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkInitializePerformanceApiInfoINTELcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkInitializePerformanceApiInfoINTELinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkInitializePerformanceApiInfoINTELcreate()Returns a newVkInitializePerformanceApiInfoINTELinstance allocated withBufferUtils.static VkInitializePerformanceApiInfoINTEL.Buffercreate(int capacity)Returns a newVkInitializePerformanceApiInfoINTEL.Bufferinstance allocated withBufferUtils.static VkInitializePerformanceApiInfoINTELcreate(long address)Returns a newVkInitializePerformanceApiInfoINTELinstance for the specified memory address.static VkInitializePerformanceApiInfoINTEL.Buffercreate(long address, int capacity)Create aVkInitializePerformanceApiInfoINTEL.Bufferinstance at the specified memory.static VkInitializePerformanceApiInfoINTELcreateSafe(long address)static VkInitializePerformanceApiInfoINTEL.BuffercreateSafe(long address, int capacity)static VkInitializePerformanceApiInfoINTELmalloc()Returns a newVkInitializePerformanceApiInfoINTELinstance allocated withmemAlloc.static VkInitializePerformanceApiInfoINTEL.Buffermalloc(int capacity)Returns a newVkInitializePerformanceApiInfoINTEL.Bufferinstance allocated withmemAlloc.static VkInitializePerformanceApiInfoINTELmallocStack()Returns a newVkInitializePerformanceApiInfoINTELinstance allocated on the thread-localMemoryStack.static VkInitializePerformanceApiInfoINTEL.BuffermallocStack(int capacity)Returns a newVkInitializePerformanceApiInfoINTEL.Bufferinstance allocated on the thread-localMemoryStack.static VkInitializePerformanceApiInfoINTEL.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkInitializePerformanceApiInfoINTEL.Bufferinstance allocated on the specifiedMemoryStack.static VkInitializePerformanceApiInfoINTELmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkInitializePerformanceApiInfoINTELinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static longnpUserData(long struct)Unsafe version ofpUserData().static voidnpUserData(long struct, long value)Unsafe version ofpUserData.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()Returns the value of thepNextfield.VkInitializePerformanceApiInfoINTELpNext(long value)Sets the specified value to thepNextfield.longpUserData()Returns the value of thepUserDatafield.VkInitializePerformanceApiInfoINTELpUserData(long value)Sets the specified value to thepUserDatafield.VkInitializePerformanceApiInfoINTELset(int sType, long pNext, long pUserData)Initializes this struct with the specified values.VkInitializePerformanceApiInfoINTELset(VkInitializePerformanceApiInfoINTEL src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkInitializePerformanceApiInfoINTELsType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
VkInitializePerformanceApiInfoINTEL
public VkInitializePerformanceApiInfoINTEL(java.nio.ByteBuffer container)
Creates aVkInitializePerformanceApiInfoINTELinstance at the current position of the specifiedByteBuffercontainer. 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:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
pUserData
public long pUserData()
Returns the value of thepUserDatafield.
-
sType
public VkInitializePerformanceApiInfoINTEL sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkInitializePerformanceApiInfoINTEL pNext(long value)
Sets the specified value to thepNextfield.
-
pUserData
public VkInitializePerformanceApiInfoINTEL pUserData(long value)
Sets the specified value to thepUserDatafield.
-
set
public VkInitializePerformanceApiInfoINTEL set(int sType, long pNext, long pUserData)
Initializes this struct with the specified values.
-
set
public VkInitializePerformanceApiInfoINTEL set(VkInitializePerformanceApiInfoINTEL src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkInitializePerformanceApiInfoINTEL malloc()
Returns a newVkInitializePerformanceApiInfoINTELinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkInitializePerformanceApiInfoINTEL calloc()
Returns a newVkInitializePerformanceApiInfoINTELinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkInitializePerformanceApiInfoINTEL create()
Returns a newVkInitializePerformanceApiInfoINTELinstance allocated withBufferUtils.
-
create
public static VkInitializePerformanceApiInfoINTEL create(long address)
Returns a newVkInitializePerformanceApiInfoINTELinstance for the specified memory address.
-
createSafe
@Nullable public static VkInitializePerformanceApiInfoINTEL createSafe(long address)
-
malloc
public static VkInitializePerformanceApiInfoINTEL.Buffer malloc(int capacity)
Returns a newVkInitializePerformanceApiInfoINTEL.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkInitializePerformanceApiInfoINTEL.Buffer calloc(int capacity)
Returns a newVkInitializePerformanceApiInfoINTEL.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkInitializePerformanceApiInfoINTEL.Buffer create(int capacity)
Returns a newVkInitializePerformanceApiInfoINTEL.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkInitializePerformanceApiInfoINTEL.Buffer create(long address, int capacity)
Create aVkInitializePerformanceApiInfoINTEL.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkInitializePerformanceApiInfoINTEL.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkInitializePerformanceApiInfoINTEL mallocStack()
Returns a newVkInitializePerformanceApiInfoINTELinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkInitializePerformanceApiInfoINTEL callocStack()
Returns a newVkInitializePerformanceApiInfoINTELinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkInitializePerformanceApiInfoINTEL mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkInitializePerformanceApiInfoINTELinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkInitializePerformanceApiInfoINTEL callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkInitializePerformanceApiInfoINTELinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkInitializePerformanceApiInfoINTEL.Buffer mallocStack(int capacity)
Returns a newVkInitializePerformanceApiInfoINTEL.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkInitializePerformanceApiInfoINTEL.Buffer callocStack(int capacity)
Returns a newVkInitializePerformanceApiInfoINTEL.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkInitializePerformanceApiInfoINTEL.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkInitializePerformanceApiInfoINTEL.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkInitializePerformanceApiInfoINTEL.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkInitializePerformanceApiInfoINTEL.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
npUserData
public static long npUserData(long struct)
Unsafe version ofpUserData().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
npUserData
public static void npUserData(long struct, long value)Unsafe version ofpUserData.
-
-