public class VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether each feature is supported. VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR can also be included in the pNext chain of VkDeviceCreateInfo to enable features.
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.shaderSubgroupExtendedTypes – a boolean that specifies whether subgroup operations can use 8-bit integer, 16-bit integer, 64-bit integer, 16-bit floating-point, and vectors of these types if the implementation supports the types.
struct VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR {
VkStructureType sType;
void * pNext;
VkBool32 shaderSubgroupExtendedTypes;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer
An array of
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SHADERSUBGROUPEXTENDEDTYPES
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR |
calloc()
Returns a new
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR instance allocated with memCalloc. |
static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR |
callocStack()
Returns a new
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR |
create()
Returns a new
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR instance allocated with BufferUtils. |
static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR |
create(long address)
Returns a new
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR instance for the specified memory address. |
static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer instance at the specified memory. |
static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR |
createSafe(long address)
|
static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR |
malloc()
Returns a new
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR instance allocated with memAlloc. |
static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR |
mallocStack()
Returns a new
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR 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 |
nshaderSubgroupExtendedTypes(long struct)
Unsafe version of
shaderSubgroupExtendedTypes(). |
static void |
nshaderSubgroupExtendedTypes(long struct,
int value)
Unsafe version of
shaderSubgroupExtendedTypes. |
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. |
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR |
set(int sType,
long pNext,
boolean shaderSubgroupExtendedTypes)
Initializes this struct with the specified values.
|
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR |
set(VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR src)
Copies the specified struct data to this struct.
|
boolean |
shaderSubgroupExtendedTypes()
Returns the value of the
shaderSubgroupExtendedTypes field. |
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR |
shaderSubgroupExtendedTypes(boolean value)
Sets the specified value to the
shaderSubgroupExtendedTypes field. |
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR |
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 SHADERSUBGROUPEXTENDEDTYPES
public VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR(java.nio.ByteBuffer container)
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR 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 boolean shaderSubgroupExtendedTypes()
shaderSubgroupExtendedTypes field.public VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR sType(int value)
sType field.public VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR pNext(long value)
pNext field.public VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR shaderSubgroupExtendedTypes(boolean value)
shaderSubgroupExtendedTypes field.public VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR set(int sType, long pNext, boolean shaderSubgroupExtendedTypes)
public VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR set(VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR src)
src - the source structpublic static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR malloc()
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR calloc()
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR create()
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR instance allocated with BufferUtils.public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR create(long address)
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR instance for the specified memory address.@Nullable public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR createSafe(long address)
public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer malloc(int capacity)
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer calloc(int capacity)
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer create(int capacity)
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer create(long address, int capacity)
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR mallocStack()
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR callocStack()
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer mallocStack(int capacity)
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer callocStack(int capacity)
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.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 nshaderSubgroupExtendedTypes(long struct)
shaderSubgroupExtendedTypes().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nshaderSubgroupExtendedTypes(long struct,
int value)
shaderSubgroupExtendedTypes.Copyright LWJGL. All Rights Reserved. License terms.