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