Package org.lwjgl.vulkan
Class VkQueryPoolPerformanceQueryCreateInfoINTEL
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkQueryPoolPerformanceQueryCreateInfoINTEL
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkQueryPoolCreateInfoINTEL
public class VkQueryPoolPerformanceQueryCreateInfoINTEL extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying parameters to create a pool of performance queries.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_QUERY_CREATE_INFO_INTELperformanceCountersSamplingmust be a validVkQueryPoolSamplingModeINTELvalue
Layout
struct VkQueryPoolPerformanceQueryCreateInfoINTEL { VkStructureTypesType(); void const *pNext(); VkQueryPoolSamplingModeINTELperformanceCountersSampling(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkQueryPoolPerformanceQueryCreateInfoINTEL.BufferAn array ofVkQueryPoolPerformanceQueryCreateInfoINTELstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPERFORMANCECOUNTERSSAMPLING
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkQueryPoolPerformanceQueryCreateInfoINTEL(java.nio.ByteBuffer container)Creates aVkQueryPoolPerformanceQueryCreateInfoINTELinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkQueryPoolPerformanceQueryCreateInfoINTELcalloc()Returns a newVkQueryPoolPerformanceQueryCreateInfoINTELinstance allocated withmemCalloc.static VkQueryPoolPerformanceQueryCreateInfoINTEL.Buffercalloc(int capacity)Returns a newVkQueryPoolPerformanceQueryCreateInfoINTEL.Bufferinstance allocated withmemCalloc.static VkQueryPoolPerformanceQueryCreateInfoINTEL.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkQueryPoolPerformanceQueryCreateInfoINTEL.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkQueryPoolPerformanceQueryCreateInfoINTELcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkQueryPoolPerformanceQueryCreateInfoINTELinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkQueryPoolPerformanceQueryCreateInfoINTELcreate()Returns a newVkQueryPoolPerformanceQueryCreateInfoINTELinstance allocated withBufferUtils.static VkQueryPoolPerformanceQueryCreateInfoINTEL.Buffercreate(int capacity)Returns a newVkQueryPoolPerformanceQueryCreateInfoINTEL.Bufferinstance allocated withBufferUtils.static VkQueryPoolPerformanceQueryCreateInfoINTELcreate(long address)Returns a newVkQueryPoolPerformanceQueryCreateInfoINTELinstance for the specified memory address.static VkQueryPoolPerformanceQueryCreateInfoINTEL.Buffercreate(long address, int capacity)Create aVkQueryPoolPerformanceQueryCreateInfoINTEL.Bufferinstance at the specified memory.static VkQueryPoolPerformanceQueryCreateInfoINTELcreateSafe(long address)static VkQueryPoolPerformanceQueryCreateInfoINTEL.BuffercreateSafe(long address, int capacity)static VkQueryPoolPerformanceQueryCreateInfoINTELmalloc()Returns a newVkQueryPoolPerformanceQueryCreateInfoINTELinstance allocated withmemAlloc.static VkQueryPoolPerformanceQueryCreateInfoINTEL.Buffermalloc(int capacity)Returns a newVkQueryPoolPerformanceQueryCreateInfoINTEL.Bufferinstance allocated withmemAlloc.static VkQueryPoolPerformanceQueryCreateInfoINTEL.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkQueryPoolPerformanceQueryCreateInfoINTEL.Bufferinstance allocated on the specifiedMemoryStack.static VkQueryPoolPerformanceQueryCreateInfoINTELmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkQueryPoolPerformanceQueryCreateInfoINTELinstance allocated on the specifiedMemoryStack.static intnperformanceCountersSampling(long struct)Unsafe version ofperformanceCountersSampling().static voidnperformanceCountersSampling(long struct, int value)Unsafe version ofperformanceCountersSampling.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.intperformanceCountersSampling()describe how performance queries should be captured.VkQueryPoolPerformanceQueryCreateInfoINTELperformanceCountersSampling(int value)Sets the specified value to theperformanceCountersSampling()field.longpNext()NULLor a pointer to a structure extending this structure.VkQueryPoolPerformanceQueryCreateInfoINTELpNext(long value)Sets the specified value to thepNext()field.VkQueryPoolPerformanceQueryCreateInfoINTELset(int sType, long pNext, int performanceCountersSampling)Initializes this struct with the specified values.VkQueryPoolPerformanceQueryCreateInfoINTELset(VkQueryPoolPerformanceQueryCreateInfoINTEL src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkQueryPoolPerformanceQueryCreateInfoINTELsType(int value)Sets the specified value to thesType()field.VkQueryPoolPerformanceQueryCreateInfoINTELsType$Default()Sets theSTRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_QUERY_CREATE_INFO_INTELvalue to thesType()field.
-
-
-
Constructor Detail
-
VkQueryPoolPerformanceQueryCreateInfoINTEL
public VkQueryPoolPerformanceQueryCreateInfoINTEL(java.nio.ByteBuffer container)
Creates aVkQueryPoolPerformanceQueryCreateInfoINTELinstance 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()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
performanceCountersSampling
public int performanceCountersSampling()
describe how performance queries should be captured.
-
sType
public VkQueryPoolPerformanceQueryCreateInfoINTEL sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkQueryPoolPerformanceQueryCreateInfoINTEL sType$Default()
Sets theSTRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_QUERY_CREATE_INFO_INTELvalue to thesType()field.
-
pNext
public VkQueryPoolPerformanceQueryCreateInfoINTEL pNext(long value)
Sets the specified value to thepNext()field.
-
performanceCountersSampling
public VkQueryPoolPerformanceQueryCreateInfoINTEL performanceCountersSampling(int value)
Sets the specified value to theperformanceCountersSampling()field.
-
set
public VkQueryPoolPerformanceQueryCreateInfoINTEL set(int sType, long pNext, int performanceCountersSampling)
Initializes this struct with the specified values.
-
set
public VkQueryPoolPerformanceQueryCreateInfoINTEL set(VkQueryPoolPerformanceQueryCreateInfoINTEL src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkQueryPoolPerformanceQueryCreateInfoINTEL malloc()
Returns a newVkQueryPoolPerformanceQueryCreateInfoINTELinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkQueryPoolPerformanceQueryCreateInfoINTEL calloc()
Returns a newVkQueryPoolPerformanceQueryCreateInfoINTELinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkQueryPoolPerformanceQueryCreateInfoINTEL create()
Returns a newVkQueryPoolPerformanceQueryCreateInfoINTELinstance allocated withBufferUtils.
-
create
public static VkQueryPoolPerformanceQueryCreateInfoINTEL create(long address)
Returns a newVkQueryPoolPerformanceQueryCreateInfoINTELinstance for the specified memory address.
-
createSafe
@Nullable public static VkQueryPoolPerformanceQueryCreateInfoINTEL createSafe(long address)
-
malloc
public static VkQueryPoolPerformanceQueryCreateInfoINTEL.Buffer malloc(int capacity)
Returns a newVkQueryPoolPerformanceQueryCreateInfoINTEL.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkQueryPoolPerformanceQueryCreateInfoINTEL.Buffer calloc(int capacity)
Returns a newVkQueryPoolPerformanceQueryCreateInfoINTEL.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkQueryPoolPerformanceQueryCreateInfoINTEL.Buffer create(int capacity)
Returns a newVkQueryPoolPerformanceQueryCreateInfoINTEL.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkQueryPoolPerformanceQueryCreateInfoINTEL.Buffer create(long address, int capacity)
Create aVkQueryPoolPerformanceQueryCreateInfoINTEL.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkQueryPoolPerformanceQueryCreateInfoINTEL.Buffer createSafe(long address, int capacity)
-
malloc
public static VkQueryPoolPerformanceQueryCreateInfoINTEL malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkQueryPoolPerformanceQueryCreateInfoINTELinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkQueryPoolPerformanceQueryCreateInfoINTEL calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkQueryPoolPerformanceQueryCreateInfoINTELinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkQueryPoolPerformanceQueryCreateInfoINTEL.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkQueryPoolPerformanceQueryCreateInfoINTEL.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkQueryPoolPerformanceQueryCreateInfoINTEL.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkQueryPoolPerformanceQueryCreateInfoINTEL.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().
-
nperformanceCountersSampling
public static int nperformanceCountersSampling(long struct)
Unsafe version ofperformanceCountersSampling().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nperformanceCountersSampling
public static void nperformanceCountersSampling(long struct, int value)Unsafe version ofperformanceCountersSampling.
-
-