public static class VkApplicationInfo.Buffer extends org.lwjgl.system.StructBuffer<VkApplicationInfo,VkApplicationInfo.Buffer> implements org.lwjgl.system.NativeResource
VkApplicationInfo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkApplicationInfo.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
apiVersion()
Returns the value of the
apiVersion field. |
VkApplicationInfo.Buffer |
apiVersion(int value)
Sets the specified value to the
apiVersion field. |
int |
applicationVersion()
Returns the value of the
applicationVersion field. |
VkApplicationInfo.Buffer |
applicationVersion(int value)
Sets the specified value to the
applicationVersion field. |
int |
engineVersion()
Returns the value of the
engineVersion field. |
VkApplicationInfo.Buffer |
engineVersion(int value)
Sets the specified value to the
engineVersion field. |
java.nio.ByteBuffer |
pApplicationName()
Returns a
ByteBuffer view of the null-terminated string pointed to by the pApplicationName field. |
VkApplicationInfo.Buffer |
pApplicationName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to the
pApplicationName field. |
java.lang.String |
pApplicationNameString()
Decodes the null-terminated string pointed to by the
pApplicationName field. |
java.nio.ByteBuffer |
pEngineName()
Returns a
ByteBuffer view of the null-terminated string pointed to by the pEngineName field. |
VkApplicationInfo.Buffer |
pEngineName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to the
pEngineName field. |
java.lang.String |
pEngineNameString()
Decodes the null-terminated string pointed to by the
pEngineName field. |
long |
pNext()
Returns the value of the
pNext field. |
VkApplicationInfo.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
sType()
Returns the value of the
sType field. |
VkApplicationInfo.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)
VkApplicationInfo.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 VkApplicationInfo.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.@Nullable public java.nio.ByteBuffer pApplicationName()
ByteBuffer view of the null-terminated string pointed to by the pApplicationName field.@Nullable public java.lang.String pApplicationNameString()
pApplicationName field.public int applicationVersion()
applicationVersion field.@Nullable public java.nio.ByteBuffer pEngineName()
ByteBuffer view of the null-terminated string pointed to by the pEngineName field.@Nullable public java.lang.String pEngineNameString()
pEngineName field.public int engineVersion()
engineVersion field.public int apiVersion()
apiVersion field.public VkApplicationInfo.Buffer sType(int value)
sType field.public VkApplicationInfo.Buffer pNext(long value)
pNext field.public VkApplicationInfo.Buffer pApplicationName(@Nullable java.nio.ByteBuffer value)
pApplicationName field.public VkApplicationInfo.Buffer applicationVersion(int value)
applicationVersion field.public VkApplicationInfo.Buffer pEngineName(@Nullable java.nio.ByteBuffer value)
pEngineName field.public VkApplicationInfo.Buffer engineVersion(int value)
engineVersion field.public VkApplicationInfo.Buffer apiVersion(int value)
apiVersion field.Copyright LWJGL. All Rights Reserved. License terms.