Package org.lwjgl.vulkan
Class VkPhysicalDeviceVulkanMemoryModelFeaturesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceVulkanMemoryModelFeatures
-
- org.lwjgl.vulkan.VkPhysicalDeviceVulkanMemoryModelFeaturesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceVulkanMemoryModelFeaturesKHR extends VkPhysicalDeviceVulkanMemoryModelFeatures
SeeVkPhysicalDeviceVulkanMemoryModelFeatures.Layout
struct VkPhysicalDeviceVulkanMemoryModelFeaturesKHR { VkStructureType sType; void * pNext; VkBool32 vulkanMemoryModel; VkBool32 vulkanMemoryModelDeviceScope; VkBool32 vulkanMemoryModelAvailabilityVisibilityChains; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceVulkanMemoryModelFeaturesKHR.BufferAn array ofVkPhysicalDeviceVulkanMemoryModelFeaturesKHRstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkPhysicalDeviceVulkanMemoryModelFeatures
ALIGNOF, PNEXT, SIZEOF, STYPE, VULKANMEMORYMODEL, VULKANMEMORYMODELAVAILABILITYVISIBILITYCHAINS, VULKANMEMORYMODELDEVICESCOPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceVulkanMemoryModelFeaturesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceVulkanMemoryModelFeaturesKHRinstance 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 VkPhysicalDeviceVulkanMemoryModelFeaturesKHRcalloc()Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHRinstance allocated withmemCalloc.static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceVulkanMemoryModelFeaturesKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceVulkanMemoryModelFeaturesKHRcallocStack()Deprecated.static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.BuffercallocStack(int capacity)Deprecated.static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceVulkanMemoryModelFeaturesKHRcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceVulkanMemoryModelFeaturesKHRcreate()Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHRinstance allocated withBufferUtils.static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceVulkanMemoryModelFeaturesKHRcreate(long address)Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHRinstance for the specified memory address.static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceVulkanMemoryModelFeaturesKHRcreateSafe(long address)static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceVulkanMemoryModelFeaturesKHRmalloc()Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHRinstance allocated withmemAlloc.static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceVulkanMemoryModelFeaturesKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHRinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceVulkanMemoryModelFeaturesKHRmallocStack()Deprecated.static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.BuffermallocStack(int capacity)Deprecated.static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceVulkanMemoryModelFeaturesKHRmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.VkPhysicalDeviceVulkanMemoryModelFeaturesKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceVulkanMemoryModelFeaturesKHRset(int sType, long pNext, boolean vulkanMemoryModel, boolean vulkanMemoryModelDeviceScope, boolean vulkanMemoryModelAvailabilityVisibilityChains)Initializes this struct with the specified values.VkPhysicalDeviceVulkanMemoryModelFeaturesKHRset(VkPhysicalDeviceVulkanMemoryModelFeaturesKHR src)Copies the specified struct data to this struct.VkPhysicalDeviceVulkanMemoryModelFeaturesKHRsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceVulkanMemoryModelFeaturesKHRsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURESvalue to thesTypefield.VkPhysicalDeviceVulkanMemoryModelFeaturesKHRvulkanMemoryModel(boolean value)Sets the specified value to thevulkanMemoryModelfield.VkPhysicalDeviceVulkanMemoryModelFeaturesKHRvulkanMemoryModelAvailabilityVisibilityChains(boolean value)Sets the specified value to thevulkanMemoryModelAvailabilityVisibilityChainsfield.VkPhysicalDeviceVulkanMemoryModelFeaturesKHRvulkanMemoryModelDeviceScope(boolean value)Sets the specified value to thevulkanMemoryModelDeviceScopefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceVulkanMemoryModelFeatures
npNext, npNext, nsType, nsType, nvulkanMemoryModel, nvulkanMemoryModel, nvulkanMemoryModelAvailabilityVisibilityChains, nvulkanMemoryModelAvailabilityVisibilityChains, nvulkanMemoryModelDeviceScope, nvulkanMemoryModelDeviceScope, pNext, set, sizeof, sType, vulkanMemoryModel, vulkanMemoryModelAvailabilityVisibilityChains, vulkanMemoryModelDeviceScope
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceVulkanMemoryModelFeaturesKHR
public VkPhysicalDeviceVulkanMemoryModelFeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceVulkanMemoryModelFeaturesKHRinstance 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
-
sType
public VkPhysicalDeviceVulkanMemoryModelFeaturesKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceVulkanMemoryModelFeatures
-
sType$Default
public VkPhysicalDeviceVulkanMemoryModelFeaturesKHR sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDeviceVulkanMemoryModelFeatures
-
pNext
public VkPhysicalDeviceVulkanMemoryModelFeaturesKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceVulkanMemoryModelFeatures
-
vulkanMemoryModel
public VkPhysicalDeviceVulkanMemoryModelFeaturesKHR vulkanMemoryModel(boolean value)
Sets the specified value to thevulkanMemoryModelfield.- Overrides:
vulkanMemoryModelin classVkPhysicalDeviceVulkanMemoryModelFeatures
-
vulkanMemoryModelDeviceScope
public VkPhysicalDeviceVulkanMemoryModelFeaturesKHR vulkanMemoryModelDeviceScope(boolean value)
Sets the specified value to thevulkanMemoryModelDeviceScopefield.- Overrides:
vulkanMemoryModelDeviceScopein classVkPhysicalDeviceVulkanMemoryModelFeatures
-
vulkanMemoryModelAvailabilityVisibilityChains
public VkPhysicalDeviceVulkanMemoryModelFeaturesKHR vulkanMemoryModelAvailabilityVisibilityChains(boolean value)
Sets the specified value to thevulkanMemoryModelAvailabilityVisibilityChainsfield.
-
set
public VkPhysicalDeviceVulkanMemoryModelFeaturesKHR set(int sType, long pNext, boolean vulkanMemoryModel, boolean vulkanMemoryModelDeviceScope, boolean vulkanMemoryModelAvailabilityVisibilityChains)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceVulkanMemoryModelFeatures
-
set
public VkPhysicalDeviceVulkanMemoryModelFeaturesKHR set(VkPhysicalDeviceVulkanMemoryModelFeaturesKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR malloc()
Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR calloc()
Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR create()
Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR create(long address)
Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.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 VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVulkanMemoryModelFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-