public static class VkImageCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkImageCreateInfo,VkImageCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
VkImageCreateInfo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkImageCreateInfo.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
arrayLayers()
Returns the value of the
arrayLayers field. |
VkImageCreateInfo.Buffer |
arrayLayers(int value)
Sets the specified value to the
arrayLayers field. |
VkExtent3D |
extent()
Returns a
VkExtent3D view of the extent field. |
VkImageCreateInfo.Buffer |
extent(java.util.function.Consumer<VkExtent3D> consumer)
Passes the
extent field to the specified Consumer. |
VkImageCreateInfo.Buffer |
extent(VkExtent3D value)
Copies the specified
VkExtent3D to the extent field. |
int |
flags()
Returns the value of the
flags field. |
VkImageCreateInfo.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
int |
format()
Returns the value of the
format field. |
VkImageCreateInfo.Buffer |
format(int value)
Sets the specified value to the
format field. |
int |
imageType()
Returns the value of the
imageType field. |
VkImageCreateInfo.Buffer |
imageType(int value)
Sets the specified value to the
imageType field. |
int |
initialLayout()
Returns the value of the
initialLayout field. |
VkImageCreateInfo.Buffer |
initialLayout(int value)
Sets the specified value to the
initialLayout field. |
int |
mipLevels()
Returns the value of the
mipLevels field. |
VkImageCreateInfo.Buffer |
mipLevels(int value)
Sets the specified value to the
mipLevels field. |
long |
pNext()
Returns the value of the
pNext field. |
VkImageCreateInfo.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
java.nio.IntBuffer |
pQueueFamilyIndices()
Returns a
IntBuffer view of the data pointed to by the pQueueFamilyIndices field. |
VkImageCreateInfo.Buffer |
pQueueFamilyIndices(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pQueueFamilyIndices field. |
int |
queueFamilyIndexCount()
Returns the value of the
queueFamilyIndexCount field. |
int |
samples()
Returns the value of the
samples field. |
VkImageCreateInfo.Buffer |
samples(int value)
Sets the specified value to the
samples field. |
int |
sharingMode()
Returns the value of the
sharingMode field. |
VkImageCreateInfo.Buffer |
sharingMode(int value)
Sets the specified value to the
sharingMode field. |
int |
sType()
Returns the value of the
sType field. |
VkImageCreateInfo.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
int |
tiling()
Returns the value of the
tiling field. |
VkImageCreateInfo.Buffer |
tiling(int value)
Sets the specified value to the
tiling field. |
int |
usage()
Returns the value of the
usage field. |
VkImageCreateInfo.Buffer |
usage(int value)
Sets the specified value to the
usage field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkImageCreateInfo.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 VkImageCreateInfo.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.public int imageType()
imageType field.public int format()
format field.public VkExtent3D extent()
VkExtent3D view of the extent field.public int mipLevels()
mipLevels field.public int arrayLayers()
arrayLayers field.public int samples()
samples field.public int tiling()
tiling field.public int usage()
usage field.public int sharingMode()
sharingMode field.public int queueFamilyIndexCount()
queueFamilyIndexCount field.@Nullable public java.nio.IntBuffer pQueueFamilyIndices()
IntBuffer view of the data pointed to by the pQueueFamilyIndices field.public int initialLayout()
initialLayout field.public VkImageCreateInfo.Buffer sType(int value)
sType field.public VkImageCreateInfo.Buffer pNext(long value)
pNext field.public VkImageCreateInfo.Buffer flags(int value)
flags field.public VkImageCreateInfo.Buffer imageType(int value)
imageType field.public VkImageCreateInfo.Buffer format(int value)
format field.public VkImageCreateInfo.Buffer extent(VkExtent3D value)
VkExtent3D to the extent field.public VkImageCreateInfo.Buffer extent(java.util.function.Consumer<VkExtent3D> consumer)
extent field to the specified Consumer.public VkImageCreateInfo.Buffer mipLevels(int value)
mipLevels field.public VkImageCreateInfo.Buffer arrayLayers(int value)
arrayLayers field.public VkImageCreateInfo.Buffer samples(int value)
samples field.public VkImageCreateInfo.Buffer tiling(int value)
tiling field.public VkImageCreateInfo.Buffer usage(int value)
usage field.public VkImageCreateInfo.Buffer sharingMode(int value)
sharingMode field.public VkImageCreateInfo.Buffer pQueueFamilyIndices(@Nullable java.nio.IntBuffer value)
IntBuffer to the pQueueFamilyIndices field.public VkImageCreateInfo.Buffer initialLayout(int value)
initialLayout field.Copyright LWJGL. All Rights Reserved. License terms.