public class VkPhysicalDevice8BitStorageFeaturesKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHRsType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.storageBuffer8BitAccess – indicates whether objects in the StorageBuffer or PhysicalStorageBuffer storage class with the Block decoration can have 8-bit integer members. If this feature is not enabled, 8-bit integer members must not be used in such objects. This also indicates whether shader modules can declare the StorageBuffer8BitAccess capability.uniformAndStorageBuffer8BitAccess – indicates 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 8-bit integer members. If this feature is not enabled, 8-bit integer members must not be used in such objects. This also indicates whether shader modules can declare the UniformAndStorageBuffer8BitAccess capability.storagePushConstant8 – indicates whether objects in the PushConstant storage class can have 8-bit integer members. If this feature is not enabled, 8-bit integer members must not be used in such objects. This also indicates whether shader modules can declare the StoragePushConstant8 capability.
struct VkPhysicalDevice8BitStorageFeaturesKHR {
VkStructureType sType;
void * pNext;
VkBool32 storageBuffer8BitAccess;
VkBool32 uniformAndStorageBuffer8BitAccess;
VkBool32 storagePushConstant8;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDevice8BitStorageFeaturesKHR.Buffer
An array of
VkPhysicalDevice8BitStorageFeaturesKHR 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 |
STORAGEBUFFER8BITACCESS
The struct member offsets.
|
static int |
STORAGEPUSHCONSTANT8
The struct member offsets.
|
static int |
STYPE
The struct member offsets.
|
static int |
UNIFORMANDSTORAGEBUFFER8BITACCESS
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDevice8BitStorageFeaturesKHR(java.nio.ByteBuffer container)
Creates a
VkPhysicalDevice8BitStorageFeaturesKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDevice8BitStorageFeaturesKHR |
calloc()
Returns a new
VkPhysicalDevice8BitStorageFeaturesKHR instance allocated with memCalloc. |
static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDevice8BitStorageFeaturesKHR.Buffer instance allocated with memCalloc. |
static VkPhysicalDevice8BitStorageFeaturesKHR |
callocStack()
Returns a new
VkPhysicalDevice8BitStorageFeaturesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDevice8BitStorageFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevice8BitStorageFeaturesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevice8BitStorageFeaturesKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevice8BitStorageFeaturesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevice8BitStorageFeaturesKHR |
create()
Returns a new
VkPhysicalDevice8BitStorageFeaturesKHR instance allocated with BufferUtils. |
static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer |
create(int capacity)
Returns a new
VkPhysicalDevice8BitStorageFeaturesKHR.Buffer instance allocated with BufferUtils. |
static VkPhysicalDevice8BitStorageFeaturesKHR |
create(long address)
Returns a new
VkPhysicalDevice8BitStorageFeaturesKHR instance for the specified memory address. |
static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDevice8BitStorageFeaturesKHR.Buffer instance at the specified memory. |
static VkPhysicalDevice8BitStorageFeaturesKHR |
createSafe(long address)
|
static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDevice8BitStorageFeaturesKHR |
malloc()
Returns a new
VkPhysicalDevice8BitStorageFeaturesKHR instance allocated with memAlloc. |
static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDevice8BitStorageFeaturesKHR.Buffer instance allocated with memAlloc. |
static VkPhysicalDevice8BitStorageFeaturesKHR |
mallocStack()
Returns a new
VkPhysicalDevice8BitStorageFeaturesKHR instance allocated on the thread-local MemoryStack. |
static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDevice8BitStorageFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevice8BitStorageFeaturesKHR.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDevice8BitStorageFeaturesKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevice8BitStorageFeaturesKHR 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 |
nstorageBuffer8BitAccess(long struct)
Unsafe version of
storageBuffer8BitAccess(). |
static void |
nstorageBuffer8BitAccess(long struct,
int value)
Unsafe version of
storageBuffer8BitAccess. |
static int |
nstoragePushConstant8(long struct)
Unsafe version of
storagePushConstant8(). |
static void |
nstoragePushConstant8(long struct,
int value)
Unsafe version of
storagePushConstant8. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static int |
nuniformAndStorageBuffer8BitAccess(long struct)
Unsafe version of
uniformAndStorageBuffer8BitAccess(). |
static void |
nuniformAndStorageBuffer8BitAccess(long struct,
int value)
Unsafe version of
uniformAndStorageBuffer8BitAccess. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDevice8BitStorageFeaturesKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDevice8BitStorageFeaturesKHR |
set(int sType,
long pNext,
boolean storageBuffer8BitAccess,
boolean uniformAndStorageBuffer8BitAccess,
boolean storagePushConstant8)
Initializes this struct with the specified values.
|
VkPhysicalDevice8BitStorageFeaturesKHR |
set(VkPhysicalDevice8BitStorageFeaturesKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
boolean |
storageBuffer8BitAccess()
Returns the value of the
storageBuffer8BitAccess field. |
VkPhysicalDevice8BitStorageFeaturesKHR |
storageBuffer8BitAccess(boolean value)
Sets the specified value to the
storageBuffer8BitAccess field. |
boolean |
storagePushConstant8()
Returns the value of the
storagePushConstant8 field. |
VkPhysicalDevice8BitStorageFeaturesKHR |
storagePushConstant8(boolean value)
Sets the specified value to the
storagePushConstant8 field. |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDevice8BitStorageFeaturesKHR |
sType(int value)
Sets the specified value to the
sType field. |
boolean |
uniformAndStorageBuffer8BitAccess()
Returns the value of the
uniformAndStorageBuffer8BitAccess field. |
VkPhysicalDevice8BitStorageFeaturesKHR |
uniformAndStorageBuffer8BitAccess(boolean value)
Sets the specified value to the
uniformAndStorageBuffer8BitAccess 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 STORAGEBUFFER8BITACCESS
public static final int UNIFORMANDSTORAGEBUFFER8BITACCESS
public static final int STORAGEPUSHCONSTANT8
public VkPhysicalDevice8BitStorageFeaturesKHR(java.nio.ByteBuffer container)
VkPhysicalDevice8BitStorageFeaturesKHR 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 storageBuffer8BitAccess()
storageBuffer8BitAccess field.public boolean uniformAndStorageBuffer8BitAccess()
uniformAndStorageBuffer8BitAccess field.public boolean storagePushConstant8()
storagePushConstant8 field.public VkPhysicalDevice8BitStorageFeaturesKHR sType(int value)
sType field.public VkPhysicalDevice8BitStorageFeaturesKHR pNext(long value)
pNext field.public VkPhysicalDevice8BitStorageFeaturesKHR storageBuffer8BitAccess(boolean value)
storageBuffer8BitAccess field.public VkPhysicalDevice8BitStorageFeaturesKHR uniformAndStorageBuffer8BitAccess(boolean value)
uniformAndStorageBuffer8BitAccess field.public VkPhysicalDevice8BitStorageFeaturesKHR storagePushConstant8(boolean value)
storagePushConstant8 field.public VkPhysicalDevice8BitStorageFeaturesKHR set(int sType, long pNext, boolean storageBuffer8BitAccess, boolean uniformAndStorageBuffer8BitAccess, boolean storagePushConstant8)
public VkPhysicalDevice8BitStorageFeaturesKHR set(VkPhysicalDevice8BitStorageFeaturesKHR src)
src - the source structpublic static VkPhysicalDevice8BitStorageFeaturesKHR malloc()
VkPhysicalDevice8BitStorageFeaturesKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDevice8BitStorageFeaturesKHR calloc()
VkPhysicalDevice8BitStorageFeaturesKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDevice8BitStorageFeaturesKHR create()
VkPhysicalDevice8BitStorageFeaturesKHR instance allocated with BufferUtils.public static VkPhysicalDevice8BitStorageFeaturesKHR create(long address)
VkPhysicalDevice8BitStorageFeaturesKHR instance for the specified memory address.@Nullable public static VkPhysicalDevice8BitStorageFeaturesKHR createSafe(long address)
public static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer malloc(int capacity)
VkPhysicalDevice8BitStorageFeaturesKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer calloc(int capacity)
VkPhysicalDevice8BitStorageFeaturesKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer create(int capacity)
VkPhysicalDevice8BitStorageFeaturesKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer create(long address, int capacity)
VkPhysicalDevice8BitStorageFeaturesKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer createSafe(long address, int capacity)
public static VkPhysicalDevice8BitStorageFeaturesKHR mallocStack()
VkPhysicalDevice8BitStorageFeaturesKHR instance allocated on the thread-local MemoryStack.public static VkPhysicalDevice8BitStorageFeaturesKHR callocStack()
VkPhysicalDevice8BitStorageFeaturesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDevice8BitStorageFeaturesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDevice8BitStorageFeaturesKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDevice8BitStorageFeaturesKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDevice8BitStorageFeaturesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer mallocStack(int capacity)
VkPhysicalDevice8BitStorageFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer callocStack(int capacity)
VkPhysicalDevice8BitStorageFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDevice8BitStorageFeaturesKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDevice8BitStorageFeaturesKHR.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 nstorageBuffer8BitAccess(long struct)
storageBuffer8BitAccess().public static int nuniformAndStorageBuffer8BitAccess(long struct)
uniformAndStorageBuffer8BitAccess().public static int nstoragePushConstant8(long struct)
storagePushConstant8().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nstorageBuffer8BitAccess(long struct,
int value)
storageBuffer8BitAccess.public static void nuniformAndStorageBuffer8BitAccess(long struct,
int value)
uniformAndStorageBuffer8BitAccess.public static void nstoragePushConstant8(long struct,
int value)
storagePushConstant8.Copyright LWJGL. All Rights Reserved. License terms.