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 class
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer
An array ofVkPhysicalDevice16BitStorageFeaturesKHR
structs.
-
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 aVkPhysicalDevice16BitStorageFeaturesKHR
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDevice16BitStorageFeaturesKHR
calloc()
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR
instance allocated withmemCalloc
.static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer
calloc(int capacity)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Buffer
instance allocated withmemCalloc
.static VkPhysicalDevice16BitStorageFeaturesKHR
callocStack()
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer
callocStack(int capacity)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDevice16BitStorageFeaturesKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDevice16BitStorageFeaturesKHR
create()
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR
instance allocated withBufferUtils
.static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer
create(int capacity)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Buffer
instance allocated withBufferUtils
.static VkPhysicalDevice16BitStorageFeaturesKHR
create(long address)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR
instance for the specified memory address.static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer
create(long address, int capacity)
Create aVkPhysicalDevice16BitStorageFeaturesKHR.Buffer
instance at the specified memory.static VkPhysicalDevice16BitStorageFeaturesKHR
createSafe(long address)
static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer
createSafe(long address, int capacity)
static VkPhysicalDevice16BitStorageFeaturesKHR
malloc()
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR
instance allocated withmemAlloc
.static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer
malloc(int capacity)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Buffer
instance allocated withmemAlloc
.static VkPhysicalDevice16BitStorageFeaturesKHR
mallocStack()
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR
instance allocated on the thread-localMemoryStack
.static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer
mallocStack(int capacity)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkPhysicalDevice16BitStorageFeaturesKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR
instance allocated on the specifiedMemoryStack
.VkPhysicalDevice16BitStorageFeaturesKHR
pNext(long value)
Sets the specified value to thepNext
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 thestorageBuffer16BitAccess
field.VkPhysicalDevice16BitStorageFeaturesKHR
storageInputOutput16(boolean value)
Sets the specified value to thestorageInputOutput16
field.VkPhysicalDevice16BitStorageFeaturesKHR
storagePushConstant16(boolean value)
Sets the specified value to thestoragePushConstant16
field.VkPhysicalDevice16BitStorageFeaturesKHR
sType(int value)
Sets the specified value to thesType
field.VkPhysicalDevice16BitStorageFeaturesKHR
uniformAndStorageBuffer16BitAccess(boolean value)
Sets the specified value to theuniformAndStorageBuffer16BitAccess
field.-
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 aVkPhysicalDevice16BitStorageFeaturesKHR
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sType
public VkPhysicalDevice16BitStorageFeaturesKHR sType(int value)
Sets the specified value to thesType
field.- Overrides:
sType
in classVkPhysicalDevice16BitStorageFeatures
-
pNext
public VkPhysicalDevice16BitStorageFeaturesKHR pNext(long value)
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkPhysicalDevice16BitStorageFeatures
-
storageBuffer16BitAccess
public VkPhysicalDevice16BitStorageFeaturesKHR storageBuffer16BitAccess(boolean value)
Sets the specified value to thestorageBuffer16BitAccess
field.- Overrides:
storageBuffer16BitAccess
in classVkPhysicalDevice16BitStorageFeatures
-
uniformAndStorageBuffer16BitAccess
public VkPhysicalDevice16BitStorageFeaturesKHR uniformAndStorageBuffer16BitAccess(boolean value)
Sets the specified value to theuniformAndStorageBuffer16BitAccess
field.- Overrides:
uniformAndStorageBuffer16BitAccess
in classVkPhysicalDevice16BitStorageFeatures
-
storagePushConstant16
public VkPhysicalDevice16BitStorageFeaturesKHR storagePushConstant16(boolean value)
Sets the specified value to thestoragePushConstant16
field.- Overrides:
storagePushConstant16
in classVkPhysicalDevice16BitStorageFeatures
-
storageInputOutput16
public VkPhysicalDevice16BitStorageFeaturesKHR storageInputOutput16(boolean value)
Sets the specified value to thestorageInputOutput16
field.- Overrides:
storageInputOutput16
in 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:
set
in 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 newVkPhysicalDevice16BitStorageFeaturesKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDevice16BitStorageFeaturesKHR calloc()
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkPhysicalDevice16BitStorageFeaturesKHR create()
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR
instance allocated withBufferUtils
.
-
create
public static VkPhysicalDevice16BitStorageFeaturesKHR create(long address)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDevice16BitStorageFeaturesKHR createSafe(long address)
-
malloc
public static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDevice16BitStorageFeaturesKHR.Buffer
instance 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 newVkPhysicalDevice16BitStorageFeaturesKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkPhysicalDevice16BitStorageFeaturesKHR callocStack()
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDevice16BitStorageFeaturesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkPhysicalDevice16BitStorageFeaturesKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkPhysicalDevice16BitStorageFeaturesKHR.Buffer callocStack(int capacity)
Returns a newVkPhysicalDevice16BitStorageFeaturesKHR.Buffer
instance allocated on the thread-localMemoryStack
and 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.Buffer
instance 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.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-