public class VkPhysicalDeviceCoherentMemoryFeaturesAMD
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
deviceCoherentMemory – indicates that the implementation supports device coherent memory.
struct VkPhysicalDeviceCoherentMemoryFeaturesAMD {
VkStructureType sType;
void * pNext;
VkBool32 deviceCoherentMemory;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer
An array of
VkPhysicalDeviceCoherentMemoryFeaturesAMD structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DEVICECOHERENTMEMORY
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceCoherentMemoryFeaturesAMD(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceCoherentMemoryFeaturesAMD instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceCoherentMemoryFeaturesAMD |
calloc()
Returns a new
VkPhysicalDeviceCoherentMemoryFeaturesAMD instance allocated with memCalloc. |
static VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceCoherentMemoryFeaturesAMD |
callocStack()
Returns a new
VkPhysicalDeviceCoherentMemoryFeaturesAMD instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceCoherentMemoryFeaturesAMD |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceCoherentMemoryFeaturesAMD instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceCoherentMemoryFeaturesAMD |
create()
Returns a new
VkPhysicalDeviceCoherentMemoryFeaturesAMD instance allocated with BufferUtils. |
static VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceCoherentMemoryFeaturesAMD |
create(long address)
Returns a new
VkPhysicalDeviceCoherentMemoryFeaturesAMD instance for the specified memory address. |
static VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer instance at the specified memory. |
static VkPhysicalDeviceCoherentMemoryFeaturesAMD |
createSafe(long address)
|
static VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer |
createSafe(long address,
int capacity)
|
boolean |
deviceCoherentMemory()
Returns the value of the
deviceCoherentMemory field. |
VkPhysicalDeviceCoherentMemoryFeaturesAMD |
deviceCoherentMemory(boolean value)
Sets the specified value to the
deviceCoherentMemory field. |
static VkPhysicalDeviceCoherentMemoryFeaturesAMD |
malloc()
Returns a new
VkPhysicalDeviceCoherentMemoryFeaturesAMD instance allocated with memAlloc. |
static VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceCoherentMemoryFeaturesAMD |
mallocStack()
Returns a new
VkPhysicalDeviceCoherentMemoryFeaturesAMD instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceCoherentMemoryFeaturesAMD |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceCoherentMemoryFeaturesAMD instance allocated on the specified MemoryStack. |
static int |
ndeviceCoherentMemory(long struct)
Unsafe version of
deviceCoherentMemory(). |
static void |
ndeviceCoherentMemory(long struct,
int value)
Unsafe version of
deviceCoherentMemory. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
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. |
VkPhysicalDeviceCoherentMemoryFeaturesAMD |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceCoherentMemoryFeaturesAMD |
set(int sType,
long pNext,
boolean deviceCoherentMemory)
Initializes this struct with the specified values.
|
VkPhysicalDeviceCoherentMemoryFeaturesAMD |
set(VkPhysicalDeviceCoherentMemoryFeaturesAMD src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceCoherentMemoryFeaturesAMD |
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 DEVICECOHERENTMEMORY
public VkPhysicalDeviceCoherentMemoryFeaturesAMD(java.nio.ByteBuffer container)
VkPhysicalDeviceCoherentMemoryFeaturesAMD 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 boolean deviceCoherentMemory()
deviceCoherentMemory field.public VkPhysicalDeviceCoherentMemoryFeaturesAMD sType(int value)
sType field.public VkPhysicalDeviceCoherentMemoryFeaturesAMD pNext(long value)
pNext field.public VkPhysicalDeviceCoherentMemoryFeaturesAMD deviceCoherentMemory(boolean value)
deviceCoherentMemory field.public VkPhysicalDeviceCoherentMemoryFeaturesAMD set(int sType, long pNext, boolean deviceCoherentMemory)
public VkPhysicalDeviceCoherentMemoryFeaturesAMD set(VkPhysicalDeviceCoherentMemoryFeaturesAMD src)
src - the source structpublic static VkPhysicalDeviceCoherentMemoryFeaturesAMD malloc()
VkPhysicalDeviceCoherentMemoryFeaturesAMD instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceCoherentMemoryFeaturesAMD calloc()
VkPhysicalDeviceCoherentMemoryFeaturesAMD instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceCoherentMemoryFeaturesAMD create()
VkPhysicalDeviceCoherentMemoryFeaturesAMD instance allocated with BufferUtils.public static VkPhysicalDeviceCoherentMemoryFeaturesAMD create(long address)
VkPhysicalDeviceCoherentMemoryFeaturesAMD instance for the specified memory address.@Nullable public static VkPhysicalDeviceCoherentMemoryFeaturesAMD createSafe(long address)
public static VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer malloc(int capacity)
VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer calloc(int capacity)
VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer create(int capacity)
VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer create(long address, int capacity)
VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceCoherentMemoryFeaturesAMD mallocStack()
VkPhysicalDeviceCoherentMemoryFeaturesAMD instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceCoherentMemoryFeaturesAMD callocStack()
VkPhysicalDeviceCoherentMemoryFeaturesAMD instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceCoherentMemoryFeaturesAMD mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceCoherentMemoryFeaturesAMD instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceCoherentMemoryFeaturesAMD callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceCoherentMemoryFeaturesAMD instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer mallocStack(int capacity)
VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer callocStack(int capacity)
VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceCoherentMemoryFeaturesAMD.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceCoherentMemoryFeaturesAMD.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 ndeviceCoherentMemory(long struct)
deviceCoherentMemory().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void ndeviceCoherentMemory(long struct,
int value)
deviceCoherentMemory.Copyright LWJGL. All Rights Reserved. License terms.