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