public static class VkPhysicalDeviceDriverPropertiesKHR.Buffer extends org.lwjgl.system.StructBuffer<VkPhysicalDeviceDriverPropertiesKHR,VkPhysicalDeviceDriverPropertiesKHR.Buffer> implements org.lwjgl.system.NativeResource
VkPhysicalDeviceDriverPropertiesKHR structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkPhysicalDeviceDriverPropertiesKHR.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
VkConformanceVersionKHR |
conformanceVersion()
Returns a
VkConformanceVersionKHR view of the conformanceVersion field. |
int |
driverID()
Returns the value of the
driverID field. |
java.nio.ByteBuffer |
driverInfo()
Returns a
ByteBuffer view of the driverInfo field. |
java.lang.String |
driverInfoString()
Decodes the null-terminated string stored in the
driverInfo field. |
java.nio.ByteBuffer |
driverName()
Returns a
ByteBuffer view of the driverName field. |
java.lang.String |
driverNameString()
Decodes the null-terminated string stored in the
driverName field. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceDriverPropertiesKHR.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceDriverPropertiesKHR.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkPhysicalDeviceDriverPropertiesKHR.Buffer instance backed by the specified container.
Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by VkPhysicalDeviceDriverPropertiesKHR.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int sType()
sType field.public long pNext()
pNext field.public int driverID()
driverID field.public java.nio.ByteBuffer driverName()
ByteBuffer view of the driverName field.public java.lang.String driverNameString()
driverName field.public java.nio.ByteBuffer driverInfo()
ByteBuffer view of the driverInfo field.public java.lang.String driverInfoString()
driverInfo field.public VkConformanceVersionKHR conformanceVersion()
VkConformanceVersionKHR view of the conformanceVersion field.public VkPhysicalDeviceDriverPropertiesKHR.Buffer sType(int value)
sType field.public VkPhysicalDeviceDriverPropertiesKHR.Buffer pNext(long value)
pNext field.Copyright LWJGL. All Rights Reserved. License terms.