Package org.lwjgl.vulkan
Class VkPhysicalDeviceSubgroupSizeControlFeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceSubgroupSizeControlFeatures
-
- org.lwjgl.vulkan.VkPhysicalDeviceSubgroupSizeControlFeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceSubgroupSizeControlFeaturesEXT extends VkPhysicalDeviceSubgroupSizeControlFeatures
SeeVkPhysicalDeviceSubgroupSizeControlFeatures.Layout
struct VkPhysicalDeviceSubgroupSizeControlFeaturesEXT { VkStructureType sType; void * pNext; VkBool32 subgroupSizeControl; VkBool32 computeFullSubgroups; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceSubgroupSizeControlFeaturesEXT.BufferAn array ofVkPhysicalDeviceSubgroupSizeControlFeaturesEXTstructs.
-
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.VkPhysicalDeviceSubgroupSizeControlFeatures
ALIGNOF, COMPUTEFULLSUBGROUPS, PNEXT, SIZEOF, STYPE, SUBGROUPSIZECONTROL
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceSubgroupSizeControlFeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceSubgroupSizeControlFeaturesEXTinstance 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 VkPhysicalDeviceSubgroupSizeControlFeaturesEXTcalloc()Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceSubgroupSizeControlFeaturesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceSubgroupSizeControlFeaturesEXTcallocStack()Deprecated.static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.BuffercallocStack(int capacity)Deprecated.static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceSubgroupSizeControlFeaturesEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.VkPhysicalDeviceSubgroupSizeControlFeaturesEXTcomputeFullSubgroups(boolean value)Sets the specified value to thecomputeFullSubgroupsfield.static VkPhysicalDeviceSubgroupSizeControlFeaturesEXTcreate()Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceSubgroupSizeControlFeaturesEXTcreate(long address)Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXTinstance for the specified memory address.static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceSubgroupSizeControlFeaturesEXTcreateSafe(long address)static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceSubgroupSizeControlFeaturesEXTmalloc()Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceSubgroupSizeControlFeaturesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXTinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceSubgroupSizeControlFeaturesEXTmallocStack()Deprecated.static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.BuffermallocStack(int capacity)Deprecated.static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceSubgroupSizeControlFeaturesEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.VkPhysicalDeviceSubgroupSizeControlFeaturesEXTpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceSubgroupSizeControlFeaturesEXTset(int sType, long pNext, boolean subgroupSizeControl, boolean computeFullSubgroups)Initializes this struct with the specified values.VkPhysicalDeviceSubgroupSizeControlFeaturesEXTset(VkPhysicalDeviceSubgroupSizeControlFeaturesEXT src)Copies the specified struct data to this struct.VkPhysicalDeviceSubgroupSizeControlFeaturesEXTsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceSubgroupSizeControlFeaturesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURESvalue to thesTypefield.VkPhysicalDeviceSubgroupSizeControlFeaturesEXTsubgroupSizeControl(boolean value)Sets the specified value to thesubgroupSizeControlfield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceSubgroupSizeControlFeatures
computeFullSubgroups, ncomputeFullSubgroups, ncomputeFullSubgroups, npNext, npNext, nsType, nsType, nsubgroupSizeControl, nsubgroupSizeControl, pNext, set, sizeof, sType, subgroupSizeControl
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceSubgroupSizeControlFeaturesEXT
public VkPhysicalDeviceSubgroupSizeControlFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceSubgroupSizeControlFeaturesEXTinstance 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 VkPhysicalDeviceSubgroupSizeControlFeaturesEXT sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceSubgroupSizeControlFeatures
-
sType$Default
public VkPhysicalDeviceSubgroupSizeControlFeaturesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDeviceSubgroupSizeControlFeatures
-
pNext
public VkPhysicalDeviceSubgroupSizeControlFeaturesEXT pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceSubgroupSizeControlFeatures
-
subgroupSizeControl
public VkPhysicalDeviceSubgroupSizeControlFeaturesEXT subgroupSizeControl(boolean value)
Sets the specified value to thesubgroupSizeControlfield.- Overrides:
subgroupSizeControlin classVkPhysicalDeviceSubgroupSizeControlFeatures
-
computeFullSubgroups
public VkPhysicalDeviceSubgroupSizeControlFeaturesEXT computeFullSubgroups(boolean value)
Sets the specified value to thecomputeFullSubgroupsfield.- Overrides:
computeFullSubgroupsin classVkPhysicalDeviceSubgroupSizeControlFeatures
-
set
public VkPhysicalDeviceSubgroupSizeControlFeaturesEXT set(int sType, long pNext, boolean subgroupSizeControl, boolean computeFullSubgroups)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceSubgroupSizeControlFeatures
-
set
public VkPhysicalDeviceSubgroupSizeControlFeaturesEXT set(VkPhysicalDeviceSubgroupSizeControlFeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT malloc()
Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT calloc()
Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT create()
Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT create(long address)
Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.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 VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSubgroupSizeControlFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-