Package org.lwjgl.vulkan
Class VkImageCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.StructBuffer<VkImageCreateInfo,VkImageCreateInfo.Buffer>
-
- org.lwjgl.vulkan.VkImageCreateInfo.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- VkImageCreateInfo
public static final class VkImageCreateInfo.Buffer extends StructBuffer<VkImageCreateInfo,VkImageCreateInfo.Buffer>
An array ofVkImageCreateInfostructs.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)Creates a newVkImageCreateInfo.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intarrayLayers()Returns the value of thearrayLayersfield.VkImageCreateInfo.BufferarrayLayers(int value)Sets the specified value to thearrayLayersfield.VkExtent3Dextent()Returns aVkExtent3Dview of theextentfield.VkImageCreateInfo.Bufferextent(VkExtent3D value)Copies the specifiedVkExtent3Dto theextentfield.intflags()Returns the value of theflagsfield.VkImageCreateInfo.Bufferflags(int value)Sets the specified value to theflagsfield.intformat()Returns the value of theformatfield.VkImageCreateInfo.Bufferformat(int value)Sets the specified value to theformatfield.intimageType()Returns the value of theimageTypefield.VkImageCreateInfo.BufferimageType(int value)Sets the specified value to theimageTypefield.intinitialLayout()Returns the value of theinitialLayoutfield.VkImageCreateInfo.BufferinitialLayout(int value)Sets the specified value to theinitialLayoutfield.intmipLevels()Returns the value of themipLevelsfield.VkImageCreateInfo.BuffermipLevels(int value)Sets the specified value to themipLevelsfield.longpNext()Returns the value of thepNextfield.VkImageCreateInfo.BufferpNext(long value)Sets the specified value to thepNextfield.java.nio.IntBufferpQueueFamilyIndices()Returns aIntBufferview of the data pointed to by thepQueueFamilyIndicesfield.VkImageCreateInfo.BufferpQueueFamilyIndices(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepQueueFamilyIndicesfield.intqueueFamilyIndexCount()Returns the value of thequeueFamilyIndexCountfield.intsamples()Returns the value of thesamplesfield.VkImageCreateInfo.Buffersamples(int value)Sets the specified value to thesamplesfield.intsharingMode()Returns the value of thesharingModefield.VkImageCreateInfo.BuffersharingMode(int value)Sets the specified value to thesharingModefield.intsType()Returns the value of thesTypefield.VkImageCreateInfo.BuffersType(int value)Sets the specified value to thesTypefield.inttiling()Returns the value of thetilingfield.VkImageCreateInfo.Buffertiling(int value)Sets the specified value to thetilingfield.intusage()Returns the value of theusagefield.VkImageCreateInfo.Bufferusage(int value)Sets the specified value to theusagefield.-
Methods inherited from class org.lwjgl.system.StructBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, get, get, get, get, hasRemaining, limit, limit, mark, position, position, put, put, put, remaining, reset, rewind, slice, slice, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkImageCreateInfo.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 byVkImageCreateInfo.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
-
Method Detail
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
flags
public int flags()
Returns the value of theflagsfield.
-
imageType
public int imageType()
Returns the value of theimageTypefield.
-
format
public int format()
Returns the value of theformatfield.
-
extent
public VkExtent3D extent()
Returns aVkExtent3Dview of theextentfield.
-
mipLevels
public int mipLevels()
Returns the value of themipLevelsfield.
-
arrayLayers
public int arrayLayers()
Returns the value of thearrayLayersfield.
-
samples
public int samples()
Returns the value of thesamplesfield.
-
tiling
public int tiling()
Returns the value of thetilingfield.
-
usage
public int usage()
Returns the value of theusagefield.
-
sharingMode
public int sharingMode()
Returns the value of thesharingModefield.
-
queueFamilyIndexCount
public int queueFamilyIndexCount()
Returns the value of thequeueFamilyIndexCountfield.
-
pQueueFamilyIndices
public java.nio.IntBuffer pQueueFamilyIndices()
Returns aIntBufferview of the data pointed to by thepQueueFamilyIndicesfield.
-
initialLayout
public int initialLayout()
Returns the value of theinitialLayoutfield.
-
sType
public VkImageCreateInfo.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkImageCreateInfo.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
flags
public VkImageCreateInfo.Buffer flags(int value)
Sets the specified value to theflagsfield.
-
imageType
public VkImageCreateInfo.Buffer imageType(int value)
Sets the specified value to theimageTypefield.
-
format
public VkImageCreateInfo.Buffer format(int value)
Sets the specified value to theformatfield.
-
extent
public VkImageCreateInfo.Buffer extent(VkExtent3D value)
Copies the specifiedVkExtent3Dto theextentfield.
-
mipLevels
public VkImageCreateInfo.Buffer mipLevels(int value)
Sets the specified value to themipLevelsfield.
-
arrayLayers
public VkImageCreateInfo.Buffer arrayLayers(int value)
Sets the specified value to thearrayLayersfield.
-
samples
public VkImageCreateInfo.Buffer samples(int value)
Sets the specified value to thesamplesfield.
-
tiling
public VkImageCreateInfo.Buffer tiling(int value)
Sets the specified value to thetilingfield.
-
usage
public VkImageCreateInfo.Buffer usage(int value)
Sets the specified value to theusagefield.
-
sharingMode
public VkImageCreateInfo.Buffer sharingMode(int value)
Sets the specified value to thesharingModefield.
-
pQueueFamilyIndices
public VkImageCreateInfo.Buffer pQueueFamilyIndices(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepQueueFamilyIndicesfield.
-
initialLayout
public VkImageCreateInfo.Buffer initialLayout(int value)
Sets the specified value to theinitialLayoutfield.
-
-