Package org.lwjgl.vulkan
Class VkPhysicalDeviceToolProperties.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkPhysicalDeviceToolProperties,VkPhysicalDeviceToolProperties.Buffer>
-
- org.lwjgl.vulkan.VkPhysicalDeviceToolProperties.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkPhysicalDeviceToolProperties>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkPhysicalDeviceToolPropertiesEXT.Buffer
- Enclosing class:
- VkPhysicalDeviceToolProperties
public static class VkPhysicalDeviceToolProperties.Buffer extends org.lwjgl.system.StructBuffer<VkPhysicalDeviceToolProperties,VkPhysicalDeviceToolProperties.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkPhysicalDeviceToolPropertiesstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBufferdescription()java.lang.StringdescriptionString()java.nio.ByteBufferlayer()java.lang.StringlayerString()java.nio.ByteBuffername()java.lang.StringnameString()longpNext()VkPhysicalDeviceToolProperties.BufferpNext(long value)Sets the specified value to theVkPhysicalDeviceToolProperties.pNext()field.intpurposes()intsType()VkPhysicalDeviceToolProperties.BuffersType(int value)Sets the specified value to theVkPhysicalDeviceToolProperties.sType()field.VkPhysicalDeviceToolProperties.BuffersType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIESvalue to theVkPhysicalDeviceToolProperties.sType()field.java.nio.ByteBufferversion()java.lang.StringversionString()
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkPhysicalDeviceToolProperties.Bufferinstance 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 byVkPhysicalDeviceToolProperties.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
sType
public int sType()
- Returns:
- the value of the
VkPhysicalDeviceToolProperties.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkPhysicalDeviceToolProperties.pNext()field.
-
name
public java.nio.ByteBuffer name()
- Returns:
- a
ByteBufferview of theVkPhysicalDeviceToolProperties.name()field.
-
nameString
public java.lang.String nameString()
- Returns:
- the null-terminated string stored in the
VkPhysicalDeviceToolProperties.name()field.
-
version
public java.nio.ByteBuffer version()
- Returns:
- a
ByteBufferview of theVkPhysicalDeviceToolProperties.version()field.
-
versionString
public java.lang.String versionString()
- Returns:
- the null-terminated string stored in the
VkPhysicalDeviceToolProperties.version()field.
-
purposes
public int purposes()
- Returns:
- the value of the
VkPhysicalDeviceToolProperties.purposes()field.
-
description
public java.nio.ByteBuffer description()
- Returns:
- a
ByteBufferview of theVkPhysicalDeviceToolProperties.description()field.
-
descriptionString
public java.lang.String descriptionString()
- Returns:
- the null-terminated string stored in the
VkPhysicalDeviceToolProperties.description()field.
-
layer
public java.nio.ByteBuffer layer()
- Returns:
- a
ByteBufferview of theVkPhysicalDeviceToolProperties.layer()field.
-
layerString
public java.lang.String layerString()
- Returns:
- the null-terminated string stored in the
VkPhysicalDeviceToolProperties.layer()field.
-
sType
public VkPhysicalDeviceToolProperties.Buffer sType(int value)
Sets the specified value to theVkPhysicalDeviceToolProperties.sType()field.
-
sType$Default
public VkPhysicalDeviceToolProperties.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIESvalue to theVkPhysicalDeviceToolProperties.sType()field.
-
pNext
public VkPhysicalDeviceToolProperties.Buffer pNext(long value)
Sets the specified value to theVkPhysicalDeviceToolProperties.pNext()field.
-
-