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