Package org.lwjgl.vulkan
Class VkPhysicalDevice8BitStorageFeaturesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDevice8BitStorageFeatures
-
- org.lwjgl.vulkan.VkPhysicalDevice8BitStorageFeaturesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDevice8BitStorageFeaturesKHR extends VkPhysicalDevice8BitStorageFeatures
SeeVkPhysicalDevice8BitStorageFeatures.Layout
struct VkPhysicalDevice8BitStorageFeaturesKHR { VkStructureType sType; void * pNext; VkBool32 storageBuffer8BitAccess; VkBool32 uniformAndStorageBuffer8BitAccess; VkBool32 storagePushConstant8; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDevice8BitStorageFeaturesKHR.BufferAn array ofVkPhysicalDevice8BitStorageFeaturesKHRstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkPhysicalDevice8BitStorageFeatures
ALIGNOF, PNEXT, SIZEOF, STORAGEBUFFER8BITACCESS, STORAGEPUSHCONSTANT8, STYPE, UNIFORMANDSTORAGEBUFFER8BITACCESS
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDevice8BitStorageFeaturesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDevice8BitStorageFeaturesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkPhysicalDevice8BitStorageFeaturesKHRcalloc()Returns a newVkPhysicalDevice8BitStorageFeaturesKHRinstance allocated withmemCalloc.static VkPhysicalDevice8BitStorageFeaturesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDevice8BitStorageFeaturesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDevice8BitStorageFeaturesKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevice8BitStorageFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDevice8BitStorageFeaturesKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevice8BitStorageFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDevice8BitStorageFeaturesKHRcallocStack()Deprecated.static VkPhysicalDevice8BitStorageFeaturesKHR.BuffercallocStack(int capacity)Deprecated.static VkPhysicalDevice8BitStorageFeaturesKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDevice8BitStorageFeaturesKHRcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDevice8BitStorageFeaturesKHRcreate()Returns a newVkPhysicalDevice8BitStorageFeaturesKHRinstance allocated withBufferUtils.static VkPhysicalDevice8BitStorageFeaturesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDevice8BitStorageFeaturesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDevice8BitStorageFeaturesKHRcreate(long address)Returns a newVkPhysicalDevice8BitStorageFeaturesKHRinstance for the specified memory address.static VkPhysicalDevice8BitStorageFeaturesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDevice8BitStorageFeaturesKHR.Bufferinstance at the specified memory.static VkPhysicalDevice8BitStorageFeaturesKHRcreateSafe(long address)static VkPhysicalDevice8BitStorageFeaturesKHR.BuffercreateSafe(long address, int capacity)static VkPhysicalDevice8BitStorageFeaturesKHRmalloc()Returns a newVkPhysicalDevice8BitStorageFeaturesKHRinstance allocated withmemAlloc.static VkPhysicalDevice8BitStorageFeaturesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDevice8BitStorageFeaturesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDevice8BitStorageFeaturesKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevice8BitStorageFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDevice8BitStorageFeaturesKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevice8BitStorageFeaturesKHRinstance allocated on the specifiedMemoryStack.static VkPhysicalDevice8BitStorageFeaturesKHRmallocStack()Deprecated.static VkPhysicalDevice8BitStorageFeaturesKHR.BuffermallocStack(int capacity)Deprecated.static VkPhysicalDevice8BitStorageFeaturesKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDevice8BitStorageFeaturesKHRmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.VkPhysicalDevice8BitStorageFeaturesKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDevice8BitStorageFeaturesKHRset(int sType, long pNext, boolean storageBuffer8BitAccess, boolean uniformAndStorageBuffer8BitAccess, boolean storagePushConstant8)Initializes this struct with the specified values.VkPhysicalDevice8BitStorageFeaturesKHRset(VkPhysicalDevice8BitStorageFeaturesKHR src)Copies the specified struct data to this struct.VkPhysicalDevice8BitStorageFeaturesKHRstorageBuffer8BitAccess(boolean value)Sets the specified value to thestorageBuffer8BitAccessfield.VkPhysicalDevice8BitStorageFeaturesKHRstoragePushConstant8(boolean value)Sets the specified value to thestoragePushConstant8field.VkPhysicalDevice8BitStorageFeaturesKHRsType(int value)Sets the specified value to thesTypefield.VkPhysicalDevice8BitStorageFeaturesKHRsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURESvalue to thesTypefield.VkPhysicalDevice8BitStorageFeaturesKHRuniformAndStorageBuffer8BitAccess(boolean value)Sets the specified value to theuniformAndStorageBuffer8BitAccessfield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDevice8BitStorageFeatures
npNext, npNext, nstorageBuffer8BitAccess, nstorageBuffer8BitAccess, nstoragePushConstant8, nstoragePushConstant8, nsType, nsType, nuniformAndStorageBuffer8BitAccess, nuniformAndStorageBuffer8BitAccess, pNext, set, sizeof, storageBuffer8BitAccess, storagePushConstant8, sType, uniformAndStorageBuffer8BitAccess
-
-
-
-
Constructor Detail
-
VkPhysicalDevice8BitStorageFeaturesKHR
public VkPhysicalDevice8BitStorageFeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDevice8BitStorageFeaturesKHRinstance at the current position of the specifiedByteBuffercontainer. 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.
-
-
Method Detail
-
sType
public VkPhysicalDevice8BitStorageFeaturesKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDevice8BitStorageFeatures
-
sType$Default
public VkPhysicalDevice8BitStorageFeaturesKHR sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDevice8BitStorageFeatures
-
pNext
public VkPhysicalDevice8BitStorageFeaturesKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDevice8BitStorageFeatures
-
storageBuffer8BitAccess
public VkPhysicalDevice8BitStorageFeaturesKHR storageBuffer8BitAccess(boolean value)
Sets the specified value to thestorageBuffer8BitAccessfield.- Overrides:
storageBuffer8BitAccessin classVkPhysicalDevice8BitStorageFeatures
-
uniformAndStorageBuffer8BitAccess
public VkPhysicalDevice8BitStorageFeaturesKHR uniformAndStorageBuffer8BitAccess(boolean value)
Sets the specified value to theuniformAndStorageBuffer8BitAccessfield.- Overrides:
uniformAndStorageBuffer8BitAccessin classVkPhysicalDevice8BitStorageFeatures
-
storagePushConstant8
public VkPhysicalDevice8BitStorageFeaturesKHR storagePushConstant8(boolean value)
Sets the specified value to thestoragePushConstant8field.- Overrides:
storagePushConstant8in classVkPhysicalDevice8BitStorageFeatures
-
set
public VkPhysicalDevice8BitStorageFeaturesKHR set(int sType, long pNext, boolean storageBuffer8BitAccess, boolean uniformAndStorageBuffer8BitAccess, boolean storagePushConstant8)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDevice8BitStorageFeatures
-
set
public VkPhysicalDevice8BitStorageFeaturesKHR set(VkPhysicalDevice8BitStorageFeaturesKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDevice8BitStorageFeaturesKHR malloc()
Returns a newVkPhysicalDevice8BitStorageFeaturesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDevice8BitStorageFeaturesKHR calloc()
Returns a newVkPhysicalDevice8BitStorageFeaturesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDevice8BitStorageFeaturesKHR create()
Returns a newVkPhysicalDevice8BitStorageFeaturesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDevice8BitStorageFeaturesKHR create(long address)
Returns a newVkPhysicalDevice8BitStorageFeaturesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDevice8BitStorageFeaturesKHR createSafe(long address)
-
malloc
public static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDevice8BitStorageFeaturesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDevice8BitStorageFeaturesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDevice8BitStorageFeaturesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDevice8BitStorageFeaturesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPhysicalDevice8BitStorageFeaturesKHR mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDevice8BitStorageFeaturesKHR callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDevice8BitStorageFeaturesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDevice8BitStorageFeaturesKHR callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPhysicalDevice8BitStorageFeaturesKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevice8BitStorageFeaturesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDevice8BitStorageFeaturesKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevice8BitStorageFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevice8BitStorageFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDevice8BitStorageFeaturesKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevice8BitStorageFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-