public class VkPhysicalDeviceVulkanMemoryModelFeaturesKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.vulkanMemoryModel – indicates whether the Vulkan Memory Model is supported, as defined in Vulkan Memory Model. This also indicates whether shader modules can declare the VulkanMemoryModelKHR capability.vulkanMemoryModelDeviceScope – indicates whether the Vulkan Memory Model can use Device scope synchronization. This also indicates whether shader modules can declare the VulkanMemoryModelDeviceScopeKHR capability.vulkanMemoryModelAvailabilityVisibilityChains – indicates whether the Vulkan Memory Model can use availability and visibility chains with more than one element.
struct VkPhysicalDeviceVulkanMemoryModelFeaturesKHR {
VkStructureType sType;
void * pNext;
VkBool32 vulkanMemoryModel;
VkBool32 vulkanMemoryModelDeviceScope;
VkBool32 vulkanMemoryModelAvailabilityVisibilityChains;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer
An array of
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
VULKANMEMORYMODEL
The struct member offsets.
|
static int |
VULKANMEMORYMODELAVAILABILITYVISIBILITYCHAINS
The struct member offsets.
|
static int |
VULKANMEMORYMODELDEVICESCOPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR |
calloc()
Returns a new
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR instance allocated with memCalloc. |
static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR |
callocStack()
Returns a new
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR |
create()
Returns a new
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR instance allocated with BufferUtils. |
static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR |
create(long address)
Returns a new
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR instance for the specified memory address. |
static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer instance at the specified memory. |
static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR |
createSafe(long address)
|
static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR |
malloc()
Returns a new
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR instance allocated with memAlloc. |
static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR |
mallocStack()
Returns a new
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR instance allocated on the specified MemoryStack. |
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. |
static int |
nvulkanMemoryModel(long struct)
Unsafe version of
vulkanMemoryModel(). |
static void |
nvulkanMemoryModel(long struct,
int value)
Unsafe version of
vulkanMemoryModel. |
static int |
nvulkanMemoryModelAvailabilityVisibilityChains(long struct)
Unsafe version of
vulkanMemoryModelAvailabilityVisibilityChains(). |
static void |
nvulkanMemoryModelAvailabilityVisibilityChains(long struct,
int value)
Unsafe version of
vulkanMemoryModelAvailabilityVisibilityChains. |
static int |
nvulkanMemoryModelDeviceScope(long struct)
Unsafe version of
vulkanMemoryModelDeviceScope(). |
static void |
nvulkanMemoryModelDeviceScope(long struct,
int value)
Unsafe version of
vulkanMemoryModelDeviceScope. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR |
set(int sType,
long pNext,
boolean vulkanMemoryModel,
boolean vulkanMemoryModelDeviceScope,
boolean vulkanMemoryModelAvailabilityVisibilityChains)
Initializes this struct with the specified values.
|
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR |
set(VkPhysicalDeviceVulkanMemoryModelFeaturesKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR |
sType(int value)
Sets the specified value to the
sType field. |
boolean |
vulkanMemoryModel()
Returns the value of the
vulkanMemoryModel field. |
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR |
vulkanMemoryModel(boolean value)
Sets the specified value to the
vulkanMemoryModel field. |
boolean |
vulkanMemoryModelAvailabilityVisibilityChains()
Returns the value of the
vulkanMemoryModelAvailabilityVisibilityChains field. |
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR |
vulkanMemoryModelAvailabilityVisibilityChains(boolean value)
Sets the specified value to the
vulkanMemoryModelAvailabilityVisibilityChains field. |
boolean |
vulkanMemoryModelDeviceScope()
Returns the value of the
vulkanMemoryModelDeviceScope field. |
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR |
vulkanMemoryModelDeviceScope(boolean value)
Sets the specified value to the
vulkanMemoryModelDeviceScope 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 VULKANMEMORYMODEL
public static final int VULKANMEMORYMODELDEVICESCOPE
public static final int VULKANMEMORYMODELAVAILABILITYVISIBILITYCHAINS
public VkPhysicalDeviceVulkanMemoryModelFeaturesKHR(java.nio.ByteBuffer container)
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR 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 vulkanMemoryModel()
vulkanMemoryModel field.public boolean vulkanMemoryModelDeviceScope()
vulkanMemoryModelDeviceScope field.public boolean vulkanMemoryModelAvailabilityVisibilityChains()
vulkanMemoryModelAvailabilityVisibilityChains field.public VkPhysicalDeviceVulkanMemoryModelFeaturesKHR sType(int value)
sType field.public VkPhysicalDeviceVulkanMemoryModelFeaturesKHR pNext(long value)
pNext field.public VkPhysicalDeviceVulkanMemoryModelFeaturesKHR vulkanMemoryModel(boolean value)
vulkanMemoryModel field.public VkPhysicalDeviceVulkanMemoryModelFeaturesKHR vulkanMemoryModelDeviceScope(boolean value)
vulkanMemoryModelDeviceScope field.public VkPhysicalDeviceVulkanMemoryModelFeaturesKHR vulkanMemoryModelAvailabilityVisibilityChains(boolean value)
vulkanMemoryModelAvailabilityVisibilityChains field.public VkPhysicalDeviceVulkanMemoryModelFeaturesKHR set(int sType, long pNext, boolean vulkanMemoryModel, boolean vulkanMemoryModelDeviceScope, boolean vulkanMemoryModelAvailabilityVisibilityChains)
public VkPhysicalDeviceVulkanMemoryModelFeaturesKHR set(VkPhysicalDeviceVulkanMemoryModelFeaturesKHR src)
src - the source structpublic static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR malloc()
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR calloc()
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR create()
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR instance allocated with BufferUtils.public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR create(long address)
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR instance for the specified memory address.@Nullable public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR createSafe(long address)
public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer malloc(int capacity)
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer calloc(int capacity)
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer create(int capacity)
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer create(long address, int capacity)
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR mallocStack()
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR callocStack()
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer mallocStack(int capacity)
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer callocStack(int capacity)
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.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 nvulkanMemoryModel(long struct)
vulkanMemoryModel().public static int nvulkanMemoryModelDeviceScope(long struct)
vulkanMemoryModelDeviceScope().public static int nvulkanMemoryModelAvailabilityVisibilityChains(long struct)
vulkanMemoryModelAvailabilityVisibilityChains().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nvulkanMemoryModel(long struct,
int value)
vulkanMemoryModel.public static void nvulkanMemoryModelDeviceScope(long struct,
int value)
vulkanMemoryModelDeviceScope.public static void nvulkanMemoryModelAvailabilityVisibilityChains(long struct,
int value)
vulkanMemoryModelAvailabilityVisibilityChains.Copyright LWJGL. All Rights Reserved. License terms.