Package org.lwjgl.vulkan
Class VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures
-
- org.lwjgl.vulkan.VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR extends VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures
SeeVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures.Layout
struct VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR { VkStructureType sType; void * pNext; VkBool32 shaderZeroInitializeWorkgroupMemory; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.BufferAn array ofVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRstructs.
-
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.VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures
ALIGNOF, PNEXT, SHADERZEROINITIALIZEWORKGROUPMEMORY, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRcalloc()Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRinstance allocated withmemCalloc.static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRcreate()Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRinstance allocated withBufferUtils.static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRcreate(long address)Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRinstance for the specified memory address.static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRcreateSafe(long address)static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRmalloc()Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRinstance allocated withmemAlloc.static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRinstance allocated on the specifiedMemoryStack.VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRset(int sType, long pNext, boolean shaderZeroInitializeWorkgroupMemory)Initializes this struct with the specified values.VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRset(VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR src)Copies the specified struct data to this struct.VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRshaderZeroInitializeWorkgroupMemory(boolean value)Sets the specified value to theshaderZeroInitializeWorkgroupMemoryfield.VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURESvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures
npNext, npNext, nshaderZeroInitializeWorkgroupMemory, nshaderZeroInitializeWorkgroupMemory, nsType, nsType, pNext, set, shaderZeroInitializeWorkgroupMemory, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR
public VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRinstance 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 VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures
-
sType$Default
public VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures
-
pNext
public VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures
-
shaderZeroInitializeWorkgroupMemory
public VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR shaderZeroInitializeWorkgroupMemory(boolean value)
Sets the specified value to theshaderZeroInitializeWorkgroupMemoryfield.
-
set
public VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR set(int sType, long pNext, boolean shaderZeroInitializeWorkgroupMemory)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures
-
set
public VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR set(VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR malloc()
Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR calloc()
Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR create()
Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR create(long address)
Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-