Package org.lwjgl.vulkan
Class VkPhysicalDevice16BitStorageFeaturesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDevice16BitStorageFeatures
-
- org.lwjgl.vulkan.VkPhysicalDevice16BitStorageFeaturesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDevice16BitStorageFeaturesKHR extends VkPhysicalDevice16BitStorageFeatures
SeeVkPhysicalDevice16BitStorageFeatures.Layout
struct VkPhysicalDevice16BitStorageFeaturesKHR { VkStructureType sType; void * pNext; VkBool32 storageBuffer16BitAccess; VkBool32 uniformAndStorageBuffer16BitAccess; VkBool32 storagePushConstant16; VkBool32 storageInputOutput16; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDevice16BitStorageFeaturesKHR.BufferAn array ofVkPhysicalDevice16BitStorageFeaturesKHRstructs.
-
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.VkPhysicalDevice16BitStorageFeatures
ALIGNOF, PNEXT, SIZEOF, STORAGEBUFFER16BITACCESS, STORAGEINPUTOUTPUT16, STORAGEPUSHCONSTANT16, STYPE, UNIFORMANDSTORAGEBUFFER16BITACCESS
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDevice16BitStorageFeaturesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDevice16BitStorageFeaturesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDevice16BitStorageFeaturesKHRcalloc()Returns a newVkPhysicalDevice16BitStorageFeaturesKHRinstance allocated withmemCalloc.static VkPhysicalDevice16BitStorageFeaturesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDevice16BitStorageFeaturesKHRcallocStack()Returns a newVkPhysicalDevice16BitStorageFeaturesKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDevice16BitStorageFeaturesKHR.BuffercallocStack(int capacity)Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDevice16BitStorageFeaturesKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDevice16BitStorageFeaturesKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevice16BitStorageFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDevice16BitStorageFeaturesKHRcreate()Returns a newVkPhysicalDevice16BitStorageFeaturesKHRinstance allocated withBufferUtils.static VkPhysicalDevice16BitStorageFeaturesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDevice16BitStorageFeaturesKHRcreate(long address)Returns a newVkPhysicalDevice16BitStorageFeaturesKHRinstance for the specified memory address.static VkPhysicalDevice16BitStorageFeaturesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDevice16BitStorageFeaturesKHR.Bufferinstance at the specified memory.static VkPhysicalDevice16BitStorageFeaturesKHRcreateSafe(long address)static VkPhysicalDevice16BitStorageFeaturesKHR.BuffercreateSafe(long address, int capacity)static VkPhysicalDevice16BitStorageFeaturesKHRmalloc()Returns a newVkPhysicalDevice16BitStorageFeaturesKHRinstance allocated withmemAlloc.static VkPhysicalDevice16BitStorageFeaturesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDevice16BitStorageFeaturesKHRmallocStack()Returns a newVkPhysicalDevice16BitStorageFeaturesKHRinstance allocated on the thread-localMemoryStack.static VkPhysicalDevice16BitStorageFeaturesKHR.BuffermallocStack(int capacity)Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkPhysicalDevice16BitStorageFeaturesKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDevice16BitStorageFeaturesKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevice16BitStorageFeaturesKHRinstance allocated on the specifiedMemoryStack.VkPhysicalDevice16BitStorageFeaturesKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDevice16BitStorageFeaturesKHRset(int sType, long pNext, boolean storageBuffer16BitAccess, boolean uniformAndStorageBuffer16BitAccess, boolean storagePushConstant16, boolean storageInputOutput16)Initializes this struct with the specified values.VkPhysicalDevice16BitStorageFeaturesKHRset(VkPhysicalDevice16BitStorageFeaturesKHR src)Copies the specified struct data to this struct.VkPhysicalDevice16BitStorageFeaturesKHRstorageBuffer16BitAccess(boolean value)Sets the specified value to thestorageBuffer16BitAccessfield.VkPhysicalDevice16BitStorageFeaturesKHRstorageInputOutput16(boolean value)Sets the specified value to thestorageInputOutput16field.VkPhysicalDevice16BitStorageFeaturesKHRstoragePushConstant16(boolean value)Sets the specified value to thestoragePushConstant16field.VkPhysicalDevice16BitStorageFeaturesKHRsType(int value)Sets the specified value to thesTypefield.VkPhysicalDevice16BitStorageFeaturesKHRuniformAndStorageBuffer16BitAccess(boolean value)Sets the specified value to theuniformAndStorageBuffer16BitAccessfield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDevice16BitStorageFeatures
npNext, npNext, nstorageBuffer16BitAccess, nstorageBuffer16BitAccess, nstorageInputOutput16, nstorageInputOutput16, nstoragePushConstant16, nstoragePushConstant16, nsType, nsType, nuniformAndStorageBuffer16BitAccess, nuniformAndStorageBuffer16BitAccess, pNext, set, sizeof, storageBuffer16BitAccess, storageInputOutput16, storagePushConstant16, sType, uniformAndStorageBuffer16BitAccess
-
-
-
-
Constructor Detail
-
VkPhysicalDevice16BitStorageFeaturesKHR
public VkPhysicalDevice16BitStorageFeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDevice16BitStorageFeaturesKHRinstance 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 VkPhysicalDevice16BitStorageFeaturesKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDevice16BitStorageFeatures
-
pNext
public VkPhysicalDevice16BitStorageFeaturesKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDevice16BitStorageFeatures
-
storageBuffer16BitAccess
public VkPhysicalDevice16BitStorageFeaturesKHR storageBuffer16BitAccess(boolean value)
Sets the specified value to thestorageBuffer16BitAccessfield.- Overrides:
storageBuffer16BitAccessin classVkPhysicalDevice16BitStorageFeatures
-
uniformAndStorageBuffer16BitAccess
public VkPhysicalDevice16BitStorageFeaturesKHR uniformAndStorageBuffer16BitAccess(boolean value)
Sets the specified value to theuniformAndStorageBuffer16BitAccessfield.- Overrides:
uniformAndStorageBuffer16BitAccessin classVkPhysicalDevice16BitStorageFeatures
-
storagePushConstant16
public VkPhysicalDevice16BitStorageFeaturesKHR storagePushConstant16(boolean value)
Sets the specified value to thestoragePushConstant16field.- Overrides:
storagePushConstant16in classVkPhysicalDevice16BitStorageFeatures
-
storageInputOutput16
public VkPhysicalDevice16BitStorageFeaturesKHR storageInputOutput16(boolean value)
Sets the specified value to thestorageInputOutput16field.- Overrides:
storageInputOutput16in classVkPhysicalDevice16BitStorageFeatures
-
set
public VkPhysicalDevice16BitStorageFeaturesKHR set(int sType, long pNext, boolean storageBuffer16BitAccess, boolean uniformAndStorageBuffer16BitAccess, boolean storagePushConstant16, boolean storageInputOutput16)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDevice16BitStorageFeatures
-
set
public VkPhysicalDevice16BitStorageFeaturesKHR set(VkPhysicalDevice16BitStorageFeaturesKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDevice16BitStorageFeaturesKHR malloc()
Returns a newVkPhysicalDevice16BitStorageFeaturesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDevice16BitStorageFeaturesKHR calloc()
Returns a newVkPhysicalDevice16BitStorageFeaturesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDevice16BitStorageFeaturesKHR create()
Returns a newVkPhysicalDevice16BitStorageFeaturesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDevice16BitStorageFeaturesKHR create(long address)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDevice16BitStorageFeaturesKHR createSafe(long address)
-
malloc
public static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDevice16BitStorageFeaturesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDevice16BitStorageFeaturesKHR mallocStack()
Returns a newVkPhysicalDevice16BitStorageFeaturesKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPhysicalDevice16BitStorageFeaturesKHR callocStack()
Returns a newVkPhysicalDevice16BitStorageFeaturesKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDevice16BitStorageFeaturesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDevice16BitStorageFeaturesKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer callocStack(int capacity)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-