public class VkPhysicalDevice16BitStorageFeaturesKHR extends VkPhysicalDevice16BitStorageFeatures
VkPhysicalDevice16BitStorageFeatures.
struct VkPhysicalDevice16BitStorageFeaturesKHR {
VkStructureType sType;
void * pNext;
VkBool32 storageBuffer16BitAccess;
VkBool32 uniformAndStorageBuffer16BitAccess;
VkBool32 storagePushConstant16;
VkBool32 storageInputOutput16;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer
An array of
VkPhysicalDevice16BitStorageFeaturesKHR structs. |
ALIGNOF, PNEXT, SIZEOF, STORAGEBUFFER16BITACCESS, STORAGEINPUTOUTPUT16, STORAGEPUSHCONSTANT16, STYPE, UNIFORMANDSTORAGEBUFFER16BITACCESS| Constructor and Description |
|---|
VkPhysicalDevice16BitStorageFeaturesKHR(java.nio.ByteBuffer container)
Creates a
VkPhysicalDevice16BitStorageFeaturesKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDevice16BitStorageFeaturesKHR |
calloc()
Returns a new
VkPhysicalDevice16BitStorageFeaturesKHR instance allocated with memCalloc. |
static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer instance allocated with memCalloc. |
static VkPhysicalDevice16BitStorageFeaturesKHR |
callocStack()
Returns a new
VkPhysicalDevice16BitStorageFeaturesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevice16BitStorageFeaturesKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevice16BitStorageFeaturesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevice16BitStorageFeaturesKHR |
create()
Returns a new
VkPhysicalDevice16BitStorageFeaturesKHR instance allocated with BufferUtils. |
static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer |
create(int capacity)
Returns a new
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer instance allocated with BufferUtils. |
static VkPhysicalDevice16BitStorageFeaturesKHR |
create(long address)
Returns a new
VkPhysicalDevice16BitStorageFeaturesKHR instance for the specified memory address. |
static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer instance at the specified memory. |
static VkPhysicalDevice16BitStorageFeaturesKHR |
createSafe(long address)
|
static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDevice16BitStorageFeaturesKHR |
malloc()
Returns a new
VkPhysicalDevice16BitStorageFeaturesKHR instance allocated with memAlloc. |
static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer instance allocated with memAlloc. |
static VkPhysicalDevice16BitStorageFeaturesKHR |
mallocStack()
Returns a new
VkPhysicalDevice16BitStorageFeaturesKHR instance allocated on the thread-local MemoryStack. |
static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDevice16BitStorageFeaturesKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevice16BitStorageFeaturesKHR instance allocated on the specified MemoryStack. |
VkPhysicalDevice16BitStorageFeaturesKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDevice16BitStorageFeaturesKHR |
set(int sType,
long pNext,
boolean storageBuffer16BitAccess,
boolean uniformAndStorageBuffer16BitAccess,
boolean storagePushConstant16,
boolean storageInputOutput16)
Initializes this struct with the specified values.
|
VkPhysicalDevice16BitStorageFeaturesKHR |
set(VkPhysicalDevice16BitStorageFeaturesKHR src)
Copies the specified struct data to this struct.
|
VkPhysicalDevice16BitStorageFeaturesKHR |
storageBuffer16BitAccess(boolean value)
Sets the specified value to the
storageBuffer16BitAccess field. |
VkPhysicalDevice16BitStorageFeaturesKHR |
storageInputOutput16(boolean value)
Sets the specified value to the
storageInputOutput16 field. |
VkPhysicalDevice16BitStorageFeaturesKHR |
storagePushConstant16(boolean value)
Sets the specified value to the
storagePushConstant16 field. |
VkPhysicalDevice16BitStorageFeaturesKHR |
sType(int value)
Sets the specified value to the
sType field. |
VkPhysicalDevice16BitStorageFeaturesKHR |
uniformAndStorageBuffer16BitAccess(boolean value)
Sets the specified value to the
uniformAndStorageBuffer16BitAccess field. |
npNext, npNext, nstorageBuffer16BitAccess, nstorageBuffer16BitAccess, nstorageInputOutput16, nstorageInputOutput16, nstoragePushConstant16, nstoragePushConstant16, nsType, nsType, nuniformAndStorageBuffer16BitAccess, nuniformAndStorageBuffer16BitAccess, pNext, set, sizeof, storageBuffer16BitAccess, storageInputOutput16, storagePushConstant16, sType, uniformAndStorageBuffer16BitAccesspublic VkPhysicalDevice16BitStorageFeaturesKHR(java.nio.ByteBuffer container)
VkPhysicalDevice16BitStorageFeaturesKHR 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 VkPhysicalDevice16BitStorageFeaturesKHR sType(int value)
sType field.sType in class VkPhysicalDevice16BitStorageFeaturespublic VkPhysicalDevice16BitStorageFeaturesKHR pNext(long value)
pNext field.pNext in class VkPhysicalDevice16BitStorageFeaturespublic VkPhysicalDevice16BitStorageFeaturesKHR storageBuffer16BitAccess(boolean value)
storageBuffer16BitAccess field.storageBuffer16BitAccess in class VkPhysicalDevice16BitStorageFeaturespublic VkPhysicalDevice16BitStorageFeaturesKHR uniformAndStorageBuffer16BitAccess(boolean value)
uniformAndStorageBuffer16BitAccess field.uniformAndStorageBuffer16BitAccess in class VkPhysicalDevice16BitStorageFeaturespublic VkPhysicalDevice16BitStorageFeaturesKHR storagePushConstant16(boolean value)
storagePushConstant16 field.storagePushConstant16 in class VkPhysicalDevice16BitStorageFeaturespublic VkPhysicalDevice16BitStorageFeaturesKHR storageInputOutput16(boolean value)
storageInputOutput16 field.storageInputOutput16 in class VkPhysicalDevice16BitStorageFeaturespublic VkPhysicalDevice16BitStorageFeaturesKHR set(int sType, long pNext, boolean storageBuffer16BitAccess, boolean uniformAndStorageBuffer16BitAccess, boolean storagePushConstant16, boolean storageInputOutput16)
set in class VkPhysicalDevice16BitStorageFeaturespublic VkPhysicalDevice16BitStorageFeaturesKHR set(VkPhysicalDevice16BitStorageFeaturesKHR src)
src - the source structpublic static VkPhysicalDevice16BitStorageFeaturesKHR malloc()
VkPhysicalDevice16BitStorageFeaturesKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDevice16BitStorageFeaturesKHR calloc()
VkPhysicalDevice16BitStorageFeaturesKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDevice16BitStorageFeaturesKHR create()
VkPhysicalDevice16BitStorageFeaturesKHR instance allocated with BufferUtils.public static VkPhysicalDevice16BitStorageFeaturesKHR create(long address)
VkPhysicalDevice16BitStorageFeaturesKHR instance for the specified memory address.@Nullable public static VkPhysicalDevice16BitStorageFeaturesKHR createSafe(long address)
public static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer malloc(int capacity)
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer calloc(int capacity)
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer create(int capacity)
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer create(long address, int capacity)
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer createSafe(long address, int capacity)
public static VkPhysicalDevice16BitStorageFeaturesKHR mallocStack()
VkPhysicalDevice16BitStorageFeaturesKHR instance allocated on the thread-local MemoryStack.public static VkPhysicalDevice16BitStorageFeaturesKHR callocStack()
VkPhysicalDevice16BitStorageFeaturesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDevice16BitStorageFeaturesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDevice16BitStorageFeaturesKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDevice16BitStorageFeaturesKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDevice16BitStorageFeaturesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer mallocStack(int capacity)
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer callocStack(int capacity)
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacityCopyright LWJGL. All Rights Reserved. License terms.