public static class VkInstanceCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkInstanceCreateInfo,VkInstanceCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
VkInstanceCreateInfo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkInstanceCreateInfo.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
enabledExtensionCount()
Returns the value of the
enabledExtensionCount field. |
int |
enabledLayerCount()
Returns the value of the
enabledLayerCount field. |
int |
flags()
Returns the value of the
flags field. |
VkInstanceCreateInfo.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
VkApplicationInfo |
pApplicationInfo()
Returns a
VkApplicationInfo view of the struct pointed to by the pApplicationInfo field. |
VkInstanceCreateInfo.Buffer |
pApplicationInfo(VkApplicationInfo value)
Sets the address of the specified
VkApplicationInfo to the pApplicationInfo field. |
long |
pNext()
Returns the value of the
pNext field. |
VkInstanceCreateInfo.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
org.lwjgl.PointerBuffer |
ppEnabledExtensionNames()
Returns a
PointerBuffer view of the data pointed to by the ppEnabledExtensionNames field. |
VkInstanceCreateInfo.Buffer |
ppEnabledExtensionNames(org.lwjgl.PointerBuffer value)
Sets the address of the specified
PointerBuffer to the ppEnabledExtensionNames field. |
org.lwjgl.PointerBuffer |
ppEnabledLayerNames()
Returns a
PointerBuffer view of the data pointed to by the ppEnabledLayerNames field. |
VkInstanceCreateInfo.Buffer |
ppEnabledLayerNames(org.lwjgl.PointerBuffer value)
Sets the address of the specified
PointerBuffer to the ppEnabledLayerNames field. |
int |
sType()
Returns the value of the
sType field. |
VkInstanceCreateInfo.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)
VkInstanceCreateInfo.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 VkInstanceCreateInfo.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 flags()
flags field.@Nullable public VkApplicationInfo pApplicationInfo()
VkApplicationInfo view of the struct pointed to by the pApplicationInfo field.public int enabledLayerCount()
enabledLayerCount field.@Nullable public org.lwjgl.PointerBuffer ppEnabledLayerNames()
PointerBuffer view of the data pointed to by the ppEnabledLayerNames field.public int enabledExtensionCount()
enabledExtensionCount field.@Nullable public org.lwjgl.PointerBuffer ppEnabledExtensionNames()
PointerBuffer view of the data pointed to by the ppEnabledExtensionNames field.public VkInstanceCreateInfo.Buffer sType(int value)
sType field.public VkInstanceCreateInfo.Buffer pNext(long value)
pNext field.public VkInstanceCreateInfo.Buffer flags(int value)
flags field.public VkInstanceCreateInfo.Buffer pApplicationInfo(@Nullable VkApplicationInfo value)
VkApplicationInfo to the pApplicationInfo field.public VkInstanceCreateInfo.Buffer ppEnabledLayerNames(@Nullable org.lwjgl.PointerBuffer value)
PointerBuffer to the ppEnabledLayerNames field.public VkInstanceCreateInfo.Buffer ppEnabledExtensionNames(@Nullable org.lwjgl.PointerBuffer value)
PointerBuffer to the ppEnabledExtensionNames field.Copyright LWJGL. All Rights Reserved. License terms.