public class VkPhysicalDeviceShaderCoreProperties2AMD
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceShaderCoreProperties2AMD structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.shaderCoreFeatures – a bitmask of VkShaderCorePropertiesFlagBitsAMD indicating the set of features supported by the shader core.activeComputeUnitCount – an unsigned integer value indicating the number of compute units that have been enabled.
struct VkPhysicalDeviceShaderCoreProperties2AMD {
VkStructureType sType;
void * pNext;
VkShaderCorePropertiesFlagsAMD shaderCoreFeatures;
uint32_t activeComputeUnitCount;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceShaderCoreProperties2AMD.Buffer
An array of
VkPhysicalDeviceShaderCoreProperties2AMD structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVECOMPUTEUNITCOUNT
The struct member offsets.
|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SHADERCOREFEATURES
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceShaderCoreProperties2AMD(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceShaderCoreProperties2AMD instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
int |
activeComputeUnitCount()
Returns the value of the
activeComputeUnitCount field. |
static VkPhysicalDeviceShaderCoreProperties2AMD |
calloc()
Returns a new
VkPhysicalDeviceShaderCoreProperties2AMD instance allocated with memCalloc. |
static VkPhysicalDeviceShaderCoreProperties2AMD.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceShaderCoreProperties2AMD.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceShaderCoreProperties2AMD |
callocStack()
Returns a new
VkPhysicalDeviceShaderCoreProperties2AMD instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceShaderCoreProperties2AMD.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceShaderCoreProperties2AMD.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceShaderCoreProperties2AMD.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceShaderCoreProperties2AMD.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceShaderCoreProperties2AMD |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceShaderCoreProperties2AMD instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceShaderCoreProperties2AMD |
create()
Returns a new
VkPhysicalDeviceShaderCoreProperties2AMD instance allocated with BufferUtils. |
static VkPhysicalDeviceShaderCoreProperties2AMD.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceShaderCoreProperties2AMD.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceShaderCoreProperties2AMD |
create(long address)
Returns a new
VkPhysicalDeviceShaderCoreProperties2AMD instance for the specified memory address. |
static VkPhysicalDeviceShaderCoreProperties2AMD.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceShaderCoreProperties2AMD.Buffer instance at the specified memory. |
static VkPhysicalDeviceShaderCoreProperties2AMD |
createSafe(long address)
|
static VkPhysicalDeviceShaderCoreProperties2AMD.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceShaderCoreProperties2AMD |
malloc()
Returns a new
VkPhysicalDeviceShaderCoreProperties2AMD instance allocated with memAlloc. |
static VkPhysicalDeviceShaderCoreProperties2AMD.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceShaderCoreProperties2AMD.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceShaderCoreProperties2AMD |
mallocStack()
Returns a new
VkPhysicalDeviceShaderCoreProperties2AMD instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceShaderCoreProperties2AMD.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceShaderCoreProperties2AMD.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceShaderCoreProperties2AMD.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceShaderCoreProperties2AMD.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceShaderCoreProperties2AMD |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceShaderCoreProperties2AMD instance allocated on the specified MemoryStack. |
static int |
nactiveComputeUnitCount(long struct)
Unsafe version of
activeComputeUnitCount(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nshaderCoreFeatures(long struct)
Unsafe version of
shaderCoreFeatures(). |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceShaderCoreProperties2AMD |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceShaderCoreProperties2AMD |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceShaderCoreProperties2AMD |
set(VkPhysicalDeviceShaderCoreProperties2AMD src)
Copies the specified struct data to this struct.
|
int |
shaderCoreFeatures()
Returns the value of the
shaderCoreFeatures field. |
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceShaderCoreProperties2AMD |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int SHADERCOREFEATURES
public static final int ACTIVECOMPUTEUNITCOUNT
public VkPhysicalDeviceShaderCoreProperties2AMD(java.nio.ByteBuffer container)
VkPhysicalDeviceShaderCoreProperties2AMD 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int shaderCoreFeatures()
shaderCoreFeatures field.public int activeComputeUnitCount()
activeComputeUnitCount field.public VkPhysicalDeviceShaderCoreProperties2AMD sType(int value)
sType field.public VkPhysicalDeviceShaderCoreProperties2AMD pNext(long value)
pNext field.public VkPhysicalDeviceShaderCoreProperties2AMD set(int sType, long pNext)
public VkPhysicalDeviceShaderCoreProperties2AMD set(VkPhysicalDeviceShaderCoreProperties2AMD src)
src - the source structpublic static VkPhysicalDeviceShaderCoreProperties2AMD malloc()
VkPhysicalDeviceShaderCoreProperties2AMD instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceShaderCoreProperties2AMD calloc()
VkPhysicalDeviceShaderCoreProperties2AMD instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceShaderCoreProperties2AMD create()
VkPhysicalDeviceShaderCoreProperties2AMD instance allocated with BufferUtils.public static VkPhysicalDeviceShaderCoreProperties2AMD create(long address)
VkPhysicalDeviceShaderCoreProperties2AMD instance for the specified memory address.@Nullable public static VkPhysicalDeviceShaderCoreProperties2AMD createSafe(long address)
public static VkPhysicalDeviceShaderCoreProperties2AMD.Buffer malloc(int capacity)
VkPhysicalDeviceShaderCoreProperties2AMD.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderCoreProperties2AMD.Buffer calloc(int capacity)
VkPhysicalDeviceShaderCoreProperties2AMD.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderCoreProperties2AMD.Buffer create(int capacity)
VkPhysicalDeviceShaderCoreProperties2AMD.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderCoreProperties2AMD.Buffer create(long address, int capacity)
VkPhysicalDeviceShaderCoreProperties2AMD.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceShaderCoreProperties2AMD.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceShaderCoreProperties2AMD mallocStack()
VkPhysicalDeviceShaderCoreProperties2AMD instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceShaderCoreProperties2AMD callocStack()
VkPhysicalDeviceShaderCoreProperties2AMD instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceShaderCoreProperties2AMD mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceShaderCoreProperties2AMD instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceShaderCoreProperties2AMD callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceShaderCoreProperties2AMD instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceShaderCoreProperties2AMD.Buffer mallocStack(int capacity)
VkPhysicalDeviceShaderCoreProperties2AMD.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderCoreProperties2AMD.Buffer callocStack(int capacity)
VkPhysicalDeviceShaderCoreProperties2AMD.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderCoreProperties2AMD.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceShaderCoreProperties2AMD.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceShaderCoreProperties2AMD.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceShaderCoreProperties2AMD.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nshaderCoreFeatures(long struct)
shaderCoreFeatures().public static int nactiveComputeUnitCount(long struct)
activeComputeUnitCount().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.