public class VkPhysicalDevice16BitStorageFeatures
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURESsType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.storageBuffer16BitAccess – specifies whether objects in the StorageBuffer or PhysicalStorageBuffer storage class with the Block decoration can have 16-bit integer and 16-bit floating-point members. If this feature is not enabled, 16-bit integer or 16-bit floating-point members must not be used in such objects. This also specifies whether shader modules can declare the StorageBuffer16BitAccess capability.uniformAndStorageBuffer16BitAccess – specifies whether objects in the Uniform storage class with the Block decoration and in the StorageBuffer or PhysicalStorageBuffer storage class with the same decoration can have 16-bit integer and 16-bit floating-point members. If this feature is not enabled, 16-bit integer or 16-bit floating-point members must not be used in such objects. This also specifies whether shader modules can declare the UniformAndStorageBuffer16BitAccess capability.storagePushConstant16 – specifies whether objects in the PushConstant storage class can have 16-bit integer and 16-bit floating-point members. If this feature is not enabled, 16-bit integer or floating-point members must not be used in such objects. This also specifies whether shader modules can declare the StoragePushConstant16 capability.storageInputOutput16 – specifies whether objects in the Input and Output storage classes can have 16-bit integer and 16-bit floating-point members. If this feature is not enabled, 16-bit integer or 16-bit floating-point members must not be used in such objects. This also specifies whether shader modules can declare the StorageInputOutput16 capability.
struct VkPhysicalDevice16BitStorageFeatures {
VkStructureType sType;
void * pNext;
VkBool32 storageBuffer16BitAccess;
VkBool32 uniformAndStorageBuffer16BitAccess;
VkBool32 storagePushConstant16;
VkBool32 storageInputOutput16;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDevice16BitStorageFeatures.Buffer
An array of
VkPhysicalDevice16BitStorageFeatures structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STORAGEBUFFER16BITACCESS
The struct member offsets.
|
static int |
STORAGEINPUTOUTPUT16
The struct member offsets.
|
static int |
STORAGEPUSHCONSTANT16
The struct member offsets.
|
static int |
STYPE
The struct member offsets.
|
static int |
UNIFORMANDSTORAGEBUFFER16BITACCESS
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDevice16BitStorageFeatures(java.nio.ByteBuffer container)
Creates a
VkPhysicalDevice16BitStorageFeatures instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDevice16BitStorageFeatures |
calloc()
Returns a new
VkPhysicalDevice16BitStorageFeatures instance allocated with memCalloc. |
static VkPhysicalDevice16BitStorageFeatures.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDevice16BitStorageFeatures.Buffer instance allocated with memCalloc. |
static VkPhysicalDevice16BitStorageFeatures |
callocStack()
Returns a new
VkPhysicalDevice16BitStorageFeatures instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevice16BitStorageFeatures.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDevice16BitStorageFeatures.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevice16BitStorageFeatures.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevice16BitStorageFeatures.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevice16BitStorageFeatures |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevice16BitStorageFeatures instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevice16BitStorageFeatures |
create()
Returns a new
VkPhysicalDevice16BitStorageFeatures instance allocated with BufferUtils. |
static VkPhysicalDevice16BitStorageFeatures.Buffer |
create(int capacity)
Returns a new
VkPhysicalDevice16BitStorageFeatures.Buffer instance allocated with BufferUtils. |
static VkPhysicalDevice16BitStorageFeatures |
create(long address)
Returns a new
VkPhysicalDevice16BitStorageFeatures instance for the specified memory address. |
static VkPhysicalDevice16BitStorageFeatures.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDevice16BitStorageFeatures.Buffer instance at the specified memory. |
static VkPhysicalDevice16BitStorageFeatures |
createSafe(long address)
|
static VkPhysicalDevice16BitStorageFeatures.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDevice16BitStorageFeatures |
malloc()
Returns a new
VkPhysicalDevice16BitStorageFeatures instance allocated with memAlloc. |
static VkPhysicalDevice16BitStorageFeatures.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDevice16BitStorageFeatures.Buffer instance allocated with memAlloc. |
static VkPhysicalDevice16BitStorageFeatures |
mallocStack()
Returns a new
VkPhysicalDevice16BitStorageFeatures instance allocated on the thread-local MemoryStack. |
static VkPhysicalDevice16BitStorageFeatures.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDevice16BitStorageFeatures.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDevice16BitStorageFeatures.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevice16BitStorageFeatures.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDevice16BitStorageFeatures |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevice16BitStorageFeatures 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 |
nstorageBuffer16BitAccess(long struct)
Unsafe version of
storageBuffer16BitAccess(). |
static void |
nstorageBuffer16BitAccess(long struct,
int value)
Unsafe version of
storageBuffer16BitAccess. |
static int |
nstorageInputOutput16(long struct)
Unsafe version of
storageInputOutput16(). |
static void |
nstorageInputOutput16(long struct,
int value)
Unsafe version of
storageInputOutput16. |
static int |
nstoragePushConstant16(long struct)
Unsafe version of
storagePushConstant16(). |
static void |
nstoragePushConstant16(long struct,
int value)
Unsafe version of
storagePushConstant16. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static int |
nuniformAndStorageBuffer16BitAccess(long struct)
Unsafe version of
uniformAndStorageBuffer16BitAccess(). |
static void |
nuniformAndStorageBuffer16BitAccess(long struct,
int value)
Unsafe version of
uniformAndStorageBuffer16BitAccess. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDevice16BitStorageFeatures |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDevice16BitStorageFeatures |
set(int sType,
long pNext,
boolean storageBuffer16BitAccess,
boolean uniformAndStorageBuffer16BitAccess,
boolean storagePushConstant16,
boolean storageInputOutput16)
Initializes this struct with the specified values.
|
VkPhysicalDevice16BitStorageFeatures |
set(VkPhysicalDevice16BitStorageFeatures src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
boolean |
storageBuffer16BitAccess()
Returns the value of the
storageBuffer16BitAccess field. |
VkPhysicalDevice16BitStorageFeatures |
storageBuffer16BitAccess(boolean value)
Sets the specified value to the
storageBuffer16BitAccess field. |
boolean |
storageInputOutput16()
Returns the value of the
storageInputOutput16 field. |
VkPhysicalDevice16BitStorageFeatures |
storageInputOutput16(boolean value)
Sets the specified value to the
storageInputOutput16 field. |
boolean |
storagePushConstant16()
Returns the value of the
storagePushConstant16 field. |
VkPhysicalDevice16BitStorageFeatures |
storagePushConstant16(boolean value)
Sets the specified value to the
storagePushConstant16 field. |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDevice16BitStorageFeatures |
sType(int value)
Sets the specified value to the
sType field. |
boolean |
uniformAndStorageBuffer16BitAccess()
Returns the value of the
uniformAndStorageBuffer16BitAccess field. |
VkPhysicalDevice16BitStorageFeatures |
uniformAndStorageBuffer16BitAccess(boolean value)
Sets the specified value to the
uniformAndStorageBuffer16BitAccess 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 STORAGEBUFFER16BITACCESS
public static final int UNIFORMANDSTORAGEBUFFER16BITACCESS
public static final int STORAGEPUSHCONSTANT16
public static final int STORAGEINPUTOUTPUT16
public VkPhysicalDevice16BitStorageFeatures(java.nio.ByteBuffer container)
VkPhysicalDevice16BitStorageFeatures 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 storageBuffer16BitAccess()
storageBuffer16BitAccess field.public boolean uniformAndStorageBuffer16BitAccess()
uniformAndStorageBuffer16BitAccess field.public boolean storagePushConstant16()
storagePushConstant16 field.public boolean storageInputOutput16()
storageInputOutput16 field.public VkPhysicalDevice16BitStorageFeatures sType(int value)
sType field.public VkPhysicalDevice16BitStorageFeatures pNext(long value)
pNext field.public VkPhysicalDevice16BitStorageFeatures storageBuffer16BitAccess(boolean value)
storageBuffer16BitAccess field.public VkPhysicalDevice16BitStorageFeatures uniformAndStorageBuffer16BitAccess(boolean value)
uniformAndStorageBuffer16BitAccess field.public VkPhysicalDevice16BitStorageFeatures storagePushConstant16(boolean value)
storagePushConstant16 field.public VkPhysicalDevice16BitStorageFeatures storageInputOutput16(boolean value)
storageInputOutput16 field.public VkPhysicalDevice16BitStorageFeatures set(int sType, long pNext, boolean storageBuffer16BitAccess, boolean uniformAndStorageBuffer16BitAccess, boolean storagePushConstant16, boolean storageInputOutput16)
public VkPhysicalDevice16BitStorageFeatures set(VkPhysicalDevice16BitStorageFeatures src)
src - the source structpublic static VkPhysicalDevice16BitStorageFeatures malloc()
VkPhysicalDevice16BitStorageFeatures instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDevice16BitStorageFeatures calloc()
VkPhysicalDevice16BitStorageFeatures instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDevice16BitStorageFeatures create()
VkPhysicalDevice16BitStorageFeatures instance allocated with BufferUtils.public static VkPhysicalDevice16BitStorageFeatures create(long address)
VkPhysicalDevice16BitStorageFeatures instance for the specified memory address.@Nullable public static VkPhysicalDevice16BitStorageFeatures createSafe(long address)
public static VkPhysicalDevice16BitStorageFeatures.Buffer malloc(int capacity)
VkPhysicalDevice16BitStorageFeatures.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDevice16BitStorageFeatures.Buffer calloc(int capacity)
VkPhysicalDevice16BitStorageFeatures.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDevice16BitStorageFeatures.Buffer create(int capacity)
VkPhysicalDevice16BitStorageFeatures.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDevice16BitStorageFeatures.Buffer create(long address, int capacity)
VkPhysicalDevice16BitStorageFeatures.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDevice16BitStorageFeatures.Buffer createSafe(long address, int capacity)
public static VkPhysicalDevice16BitStorageFeatures mallocStack()
VkPhysicalDevice16BitStorageFeatures instance allocated on the thread-local MemoryStack.public static VkPhysicalDevice16BitStorageFeatures callocStack()
VkPhysicalDevice16BitStorageFeatures instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDevice16BitStorageFeatures mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDevice16BitStorageFeatures instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDevice16BitStorageFeatures callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDevice16BitStorageFeatures instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDevice16BitStorageFeatures.Buffer mallocStack(int capacity)
VkPhysicalDevice16BitStorageFeatures.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDevice16BitStorageFeatures.Buffer callocStack(int capacity)
VkPhysicalDevice16BitStorageFeatures.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDevice16BitStorageFeatures.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDevice16BitStorageFeatures.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDevice16BitStorageFeatures.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDevice16BitStorageFeatures.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 nstorageBuffer16BitAccess(long struct)
storageBuffer16BitAccess().public static int nuniformAndStorageBuffer16BitAccess(long struct)
uniformAndStorageBuffer16BitAccess().public static int nstoragePushConstant16(long struct)
storagePushConstant16().public static int nstorageInputOutput16(long struct)
storageInputOutput16().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nstorageBuffer16BitAccess(long struct,
int value)
storageBuffer16BitAccess.public static void nuniformAndStorageBuffer16BitAccess(long struct,
int value)
uniformAndStorageBuffer16BitAccess.public static void nstoragePushConstant16(long struct,
int value)
storagePushConstant16.public static void nstorageInputOutput16(long struct,
int value)
storageInputOutput16.Copyright LWJGL. All Rights Reserved. License terms.