Package org.lwjgl.vulkan
Class VkPhysicalDeviceSubgroupSizeControlPropertiesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceSubgroupSizeControlProperties
-
- org.lwjgl.vulkan.VkPhysicalDeviceSubgroupSizeControlPropertiesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceSubgroupSizeControlPropertiesEXT extends VkPhysicalDeviceSubgroupSizeControlProperties
SeeVkPhysicalDeviceSubgroupSizeControlProperties.Layout
struct VkPhysicalDeviceSubgroupSizeControlPropertiesEXT { VkStructureType sType; void * pNext; uint32_t minSubgroupSize; uint32_t maxSubgroupSize; uint32_t maxComputeWorkgroupSubgroups; VkShaderStageFlags requiredSubgroupSizeStages; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceSubgroupSizeControlPropertiesEXT.BufferAn array ofVkPhysicalDeviceSubgroupSizeControlPropertiesEXTstructs.
-
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.VkPhysicalDeviceSubgroupSizeControlProperties
ALIGNOF, MAXCOMPUTEWORKGROUPSUBGROUPS, MAXSUBGROUPSIZE, MINSUBGROUPSIZE, PNEXT, REQUIREDSUBGROUPSIZESTAGES, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceSubgroupSizeControlPropertiesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceSubgroupSizeControlPropertiesEXTinstance 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 VkPhysicalDeviceSubgroupSizeControlPropertiesEXTcalloc()Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceSubgroupSizeControlPropertiesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceSubgroupSizeControlPropertiesEXTcallocStack()Deprecated.static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.BuffercallocStack(int capacity)Deprecated.static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceSubgroupSizeControlPropertiesEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceSubgroupSizeControlPropertiesEXTcreate()Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceSubgroupSizeControlPropertiesEXTcreate(long address)Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXTinstance for the specified memory address.static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceSubgroupSizeControlPropertiesEXTcreateSafe(long address)static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceSubgroupSizeControlPropertiesEXTmalloc()Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceSubgroupSizeControlPropertiesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXTinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceSubgroupSizeControlPropertiesEXTmallocStack()Deprecated.static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.BuffermallocStack(int capacity)Deprecated.static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceSubgroupSizeControlPropertiesEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.VkPhysicalDeviceSubgroupSizeControlPropertiesEXTpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceSubgroupSizeControlPropertiesEXTset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceSubgroupSizeControlPropertiesEXTset(VkPhysicalDeviceSubgroupSizeControlPropertiesEXT src)Copies the specified struct data to this struct.VkPhysicalDeviceSubgroupSizeControlPropertiesEXTsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceSubgroupSizeControlPropertiesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIESvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceSubgroupSizeControlProperties
maxComputeWorkgroupSubgroups, maxSubgroupSize, minSubgroupSize, nmaxComputeWorkgroupSubgroups, nmaxSubgroupSize, nminSubgroupSize, npNext, npNext, nrequiredSubgroupSizeStages, nsType, nsType, pNext, requiredSubgroupSizeStages, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT
public VkPhysicalDeviceSubgroupSizeControlPropertiesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceSubgroupSizeControlPropertiesEXTinstance 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 VkPhysicalDeviceSubgroupSizeControlPropertiesEXT sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceSubgroupSizeControlProperties
-
sType$Default
public VkPhysicalDeviceSubgroupSizeControlPropertiesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDeviceSubgroupSizeControlProperties
-
pNext
public VkPhysicalDeviceSubgroupSizeControlPropertiesEXT pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceSubgroupSizeControlProperties
-
set
public VkPhysicalDeviceSubgroupSizeControlPropertiesEXT set(int sType, long pNext)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceSubgroupSizeControlProperties
-
set
public VkPhysicalDeviceSubgroupSizeControlPropertiesEXT set(VkPhysicalDeviceSubgroupSizeControlPropertiesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT malloc()
Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT calloc()
Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT create()
Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT create(long address)
Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.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 VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-