Package org.lwjgl.vulkan
Class VkPerformanceValueINTEL
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPerformanceValueINTEL
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPerformanceValueINTEL extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceContainer for value and types of parameters that can be queried.Valid Usage (Implicit)
typemust be a validVkPerformanceValueTypeINTELvalue- If
typeisPERFORMANCE_VALUE_TYPE_STRING_INTEL, thevalueStringmember ofdatamust be a null-terminated UTF-8 string
See Also
VkPerformanceValueDataINTEL,GetPerformanceParameterINTELLayout
struct VkPerformanceValueINTEL { VkPerformanceValueTypeINTELtype();VkPerformanceValueDataINTELdata(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPerformanceValueINTEL.BufferAn array ofVkPerformanceValueINTELstructs.
-
Constructor Summary
Constructors Constructor Description VkPerformanceValueINTEL(java.nio.ByteBuffer container)Creates aVkPerformanceValueINTELinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkPerformanceValueINTELcalloc()Returns a newVkPerformanceValueINTELinstance allocated withmemCalloc.static VkPerformanceValueINTEL.Buffercalloc(int capacity)Returns a newVkPerformanceValueINTEL.Bufferinstance allocated withmemCalloc.static VkPerformanceValueINTEL.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPerformanceValueINTEL.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPerformanceValueINTELcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPerformanceValueINTELinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPerformanceValueINTELcallocStack()Deprecated.static VkPerformanceValueINTEL.BuffercallocStack(int capacity)Deprecated.static VkPerformanceValueINTEL.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPerformanceValueINTELcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPerformanceValueINTELcreate()Returns a newVkPerformanceValueINTELinstance allocated withBufferUtils.static VkPerformanceValueINTEL.Buffercreate(int capacity)Returns a newVkPerformanceValueINTEL.Bufferinstance allocated withBufferUtils.static VkPerformanceValueINTELcreate(long address)Returns a newVkPerformanceValueINTELinstance for the specified memory address.static VkPerformanceValueINTEL.Buffercreate(long address, int capacity)Create aVkPerformanceValueINTEL.Bufferinstance at the specified memory.static VkPerformanceValueINTELcreateSafe(long address)static VkPerformanceValueINTEL.BuffercreateSafe(long address, int capacity)VkPerformanceValueDataINTELdata()aVkPerformanceValueDataINTELunion specifying the value of the returned data.VkPerformanceValueINTELdata(java.util.function.Consumer<VkPerformanceValueDataINTEL> consumer)Passes thedata()field to the specifiedConsumer.VkPerformanceValueINTELdata(VkPerformanceValueDataINTEL value)Copies the specifiedVkPerformanceValueDataINTELto thedata()field.static VkPerformanceValueINTELmalloc()Returns a newVkPerformanceValueINTELinstance allocated withmemAlloc.static VkPerformanceValueINTEL.Buffermalloc(int capacity)Returns a newVkPerformanceValueINTEL.Bufferinstance allocated withmemAlloc.static VkPerformanceValueINTEL.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPerformanceValueINTEL.Bufferinstance allocated on the specifiedMemoryStack.static VkPerformanceValueINTELmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPerformanceValueINTELinstance allocated on the specifiedMemoryStack.static VkPerformanceValueINTELmallocStack()Deprecated.static VkPerformanceValueINTEL.BuffermallocStack(int capacity)Deprecated.static VkPerformanceValueINTEL.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPerformanceValueINTELmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPerformanceValueDataINTELndata(long struct)Unsafe version ofdata().static voidndata(long struct, VkPerformanceValueDataINTEL value)Unsafe version ofdata.static intntype(long struct)Unsafe version oftype().static voidntype(long struct, int value)Unsafe version oftype.VkPerformanceValueINTELset(int type, VkPerformanceValueDataINTEL data)Initializes this struct with the specified values.VkPerformanceValueINTELset(VkPerformanceValueINTEL src)Copies the specified struct data to this struct.intsizeof()inttype()aVkPerformanceValueTypeINTELvalue specifying the type of the returned data.VkPerformanceValueINTELtype(int value)Sets the specified value to thetype()field.
-
-
-
Constructor Detail
-
VkPerformanceValueINTEL
public VkPerformanceValueINTEL(java.nio.ByteBuffer container)
Creates aVkPerformanceValueINTELinstance 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
-
type
public int type()
aVkPerformanceValueTypeINTELvalue specifying the type of the returned data.
-
data
public VkPerformanceValueDataINTEL data()
aVkPerformanceValueDataINTELunion specifying the value of the returned data.
-
type
public VkPerformanceValueINTEL type(int value)
Sets the specified value to thetype()field.
-
data
public VkPerformanceValueINTEL data(VkPerformanceValueDataINTEL value)
Copies the specifiedVkPerformanceValueDataINTELto thedata()field.
-
data
public VkPerformanceValueINTEL data(java.util.function.Consumer<VkPerformanceValueDataINTEL> consumer)
Passes thedata()field to the specifiedConsumer.
-
set
public VkPerformanceValueINTEL set(int type, VkPerformanceValueDataINTEL data)
Initializes this struct with the specified values.
-
set
public VkPerformanceValueINTEL set(VkPerformanceValueINTEL src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPerformanceValueINTEL malloc()
Returns a newVkPerformanceValueINTELinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPerformanceValueINTEL calloc()
Returns a newVkPerformanceValueINTELinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPerformanceValueINTEL create()
Returns a newVkPerformanceValueINTELinstance allocated withBufferUtils.
-
create
public static VkPerformanceValueINTEL create(long address)
Returns a newVkPerformanceValueINTELinstance for the specified memory address.
-
createSafe
@Nullable public static VkPerformanceValueINTEL createSafe(long address)
-
malloc
public static VkPerformanceValueINTEL.Buffer malloc(int capacity)
Returns a newVkPerformanceValueINTEL.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPerformanceValueINTEL.Buffer calloc(int capacity)
Returns a newVkPerformanceValueINTEL.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPerformanceValueINTEL.Buffer create(int capacity)
Returns a newVkPerformanceValueINTEL.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPerformanceValueINTEL.Buffer create(long address, int capacity)
Create aVkPerformanceValueINTEL.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPerformanceValueINTEL.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPerformanceValueINTEL mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPerformanceValueINTEL callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPerformanceValueINTEL mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPerformanceValueINTEL callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPerformanceValueINTEL.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPerformanceValueINTEL.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPerformanceValueINTEL.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPerformanceValueINTEL.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPerformanceValueINTEL malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPerformanceValueINTELinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPerformanceValueINTEL calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPerformanceValueINTELinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPerformanceValueINTEL.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPerformanceValueINTEL.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPerformanceValueINTEL.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPerformanceValueINTEL.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
ntype
public static int ntype(long struct)
Unsafe version oftype().
-
ndata
public static VkPerformanceValueDataINTEL ndata(long struct)
Unsafe version ofdata().
-
ntype
public static void ntype(long struct, int value)Unsafe version oftype.
-
ndata
public static void ndata(long struct, VkPerformanceValueDataINTEL value)Unsafe version ofdata.
-
-