Package org.lwjgl.vulkan
Class VkPhysicalDeviceFloat16Int8FeaturesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceShaderFloat16Int8FeaturesKHR
-
- org.lwjgl.vulkan.VkPhysicalDeviceFloat16Int8FeaturesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkPhysicalDeviceFloat16Int8FeaturesKHR extends VkPhysicalDeviceShaderFloat16Int8FeaturesKHR
SeeVkPhysicalDeviceShaderFloat16Int8FeaturesKHR
.Layout
struct VkPhysicalDeviceFloat16Int8FeaturesKHR { VkStructureType sType; void * pNext; VkBool32 shaderFloat16; VkBool32 shaderInt8; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
An array ofVkPhysicalDeviceFloat16Int8FeaturesKHR
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.VkPhysicalDeviceShaderFloat16Int8FeaturesKHR
ALIGNOF, PNEXT, SHADERFLOAT16, SHADERINT8, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceFloat16Int8FeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceFloat16Int8FeaturesKHR
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 VkPhysicalDeviceFloat16Int8FeaturesKHR
calloc()
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR
instance allocated withmemCalloc
.static VkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
calloc(int capacity)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
instance allocated withmemCalloc
.static VkPhysicalDeviceFloat16Int8FeaturesKHR
callocStack()
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
callocStack(int capacity)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceFloat16Int8FeaturesKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceFloat16Int8FeaturesKHR
create()
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR
instance allocated withBufferUtils
.static VkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
create(int capacity)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
instance allocated withBufferUtils
.static VkPhysicalDeviceFloat16Int8FeaturesKHR
create(long address)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR
instance for the specified memory address.static VkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
create(long address, int capacity)
Create aVkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
instance at the specified memory.static VkPhysicalDeviceFloat16Int8FeaturesKHR
createSafe(long address)
static VkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
createSafe(long address, int capacity)
static VkPhysicalDeviceFloat16Int8FeaturesKHR
malloc()
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR
instance allocated withmemAlloc
.static VkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
malloc(int capacity)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
instance allocated withmemAlloc
.static VkPhysicalDeviceFloat16Int8FeaturesKHR
mallocStack()
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
mallocStack(int capacity)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkPhysicalDeviceFloat16Int8FeaturesKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR
instance allocated on the specifiedMemoryStack
.VkPhysicalDeviceFloat16Int8FeaturesKHR
pNext(long value)
Sets the specified value to thepNext
field.VkPhysicalDeviceFloat16Int8FeaturesKHR
set(int sType, long pNext, boolean shaderFloat16, boolean shaderInt8)
Initializes this struct with the specified values.VkPhysicalDeviceFloat16Int8FeaturesKHR
set(VkPhysicalDeviceFloat16Int8FeaturesKHR src)
Copies the specified struct data to this struct.VkPhysicalDeviceFloat16Int8FeaturesKHR
shaderFloat16(boolean value)
Sets the specified value to theshaderFloat16
field.VkPhysicalDeviceFloat16Int8FeaturesKHR
shaderInt8(boolean value)
Sets the specified value to theshaderInt8
field.VkPhysicalDeviceFloat16Int8FeaturesKHR
sType(int value)
Sets the specified value to thesType
field.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceShaderFloat16Int8FeaturesKHR
npNext, npNext, nshaderFloat16, nshaderFloat16, nshaderInt8, nshaderInt8, nsType, nsType, pNext, set, shaderFloat16, shaderInt8, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceFloat16Int8FeaturesKHR
public VkPhysicalDeviceFloat16Int8FeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceFloat16Int8FeaturesKHR
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 VkPhysicalDeviceFloat16Int8FeaturesKHR sType(int value)
Sets the specified value to thesType
field.- Overrides:
sType
in classVkPhysicalDeviceShaderFloat16Int8FeaturesKHR
-
pNext
public VkPhysicalDeviceFloat16Int8FeaturesKHR pNext(long value)
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkPhysicalDeviceShaderFloat16Int8FeaturesKHR
-
shaderFloat16
public VkPhysicalDeviceFloat16Int8FeaturesKHR shaderFloat16(boolean value)
Sets the specified value to theshaderFloat16
field.- Overrides:
shaderFloat16
in classVkPhysicalDeviceShaderFloat16Int8FeaturesKHR
-
shaderInt8
public VkPhysicalDeviceFloat16Int8FeaturesKHR shaderInt8(boolean value)
Sets the specified value to theshaderInt8
field.- Overrides:
shaderInt8
in classVkPhysicalDeviceShaderFloat16Int8FeaturesKHR
-
set
public VkPhysicalDeviceFloat16Int8FeaturesKHR set(int sType, long pNext, boolean shaderFloat16, boolean shaderInt8)
Initializes this struct with the specified values.- Overrides:
set
in classVkPhysicalDeviceShaderFloat16Int8FeaturesKHR
-
set
public VkPhysicalDeviceFloat16Int8FeaturesKHR set(VkPhysicalDeviceFloat16Int8FeaturesKHR src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceFloat16Int8FeaturesKHR malloc()
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceFloat16Int8FeaturesKHR calloc()
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceFloat16Int8FeaturesKHR create()
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR
instance allocated withBufferUtils
.
-
create
public static VkPhysicalDeviceFloat16Int8FeaturesKHR create(long address)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceFloat16Int8FeaturesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceFloat16Int8FeaturesKHR mallocStack()
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkPhysicalDeviceFloat16Int8FeaturesKHR callocStack()
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceFloat16Int8FeaturesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceFloat16Int8FeaturesKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFloat16Int8FeaturesKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-