public class VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If a VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT structure is included in the pNext chain of VkPipelineShaderStageCreateInfo, it specifies that the pipeline shader stage being compiled has a required subgroup size.
struct VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT {
VkStructureType sType;
void * pNext;
uint32_t requiredSubgroupSize;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer
An array of
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
REQUIREDSUBGROUPSIZE
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT(java.nio.ByteBuffer container)
Creates a
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT |
calloc()
Returns a new
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT instance allocated with memCalloc. |
static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer instance allocated with memCalloc. |
static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT |
callocStack()
Returns a new
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT |
create()
Returns a new
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT instance allocated with BufferUtils. |
static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer |
create(int capacity)
Returns a new
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer instance allocated with BufferUtils. |
static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT |
create(long address)
Returns a new
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT instance for the specified memory address. |
static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer instance at the specified memory. |
static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT |
createSafe(long address)
|
static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT |
malloc()
Returns a new
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT instance allocated with memAlloc. |
static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer instance allocated with memAlloc. |
static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT |
mallocStack()
Returns a new
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT instance allocated on the thread-local MemoryStack. |
static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT 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 |
nrequiredSubgroupSize(long struct)
Unsafe version of
requiredSubgroupSize(). |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
requiredSubgroupSize()
Returns the value of the
requiredSubgroupSize field. |
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT |
set(VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT |
sType(int value)
Sets the specified value to the
sType 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 REQUIREDSUBGROUPSIZE
public VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT(java.nio.ByteBuffer container)
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT 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 int requiredSubgroupSize()
requiredSubgroupSize field.public VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT sType(int value)
sType field.public VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT pNext(long value)
pNext field.public VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT set(int sType, long pNext)
public VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT set(VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT src)
src - the source structpublic static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT malloc()
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT calloc()
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT create()
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT instance allocated with BufferUtils.public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT create(long address)
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT instance for the specified memory address.@Nullable public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT createSafe(long address)
public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer malloc(int capacity)
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer calloc(int capacity)
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer create(int capacity)
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer create(long address, int capacity)
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer createSafe(long address, int capacity)
public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT mallocStack()
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT instance allocated on the thread-local MemoryStack.public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT callocStack()
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer mallocStack(int capacity)
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer callocStack(int capacity)
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.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 nrequiredSubgroupSize(long struct)
requiredSubgroupSize().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.