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