Package org.lwjgl.vulkan
Class VkImageCreateInfo.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<SELF>
org.lwjgl.system.StructBuffer<VkImageCreateInfo,VkImageCreateInfo.Buffer>
org.lwjgl.vulkan.VkImageCreateInfo.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<VkImageCreateInfo>
,NativeResource
,Pointer
- Enclosing class:
VkImageCreateInfo
public static class VkImageCreateInfo.Buffer
extends StructBuffer<VkImageCreateInfo,VkImageCreateInfo.Buffer>
implements NativeResource
An array of
VkImageCreateInfo
structs.-
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
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newVkImageCreateInfo.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionint
arrayLayers
(int value) Sets the specified value to theVkImageCreateInfo.arrayLayers()
field.extent()
extent
(Consumer<VkExtent3D> consumer) Passes theVkImageCreateInfo.extent()
field to the specifiedConsumer
.extent
(VkExtent3D value) Copies the specifiedVkExtent3D
to theVkImageCreateInfo.extent()
field.int
flags()
flags
(int value) Sets the specified value to theVkImageCreateInfo.flags()
field.int
format()
format
(int value) Sets the specified value to theVkImageCreateInfo.format()
field.int
imageType
(int value) Sets the specified value to theVkImageCreateInfo.imageType()
field.int
initialLayout
(int value) Sets the specified value to theVkImageCreateInfo.initialLayout()
field.int
mipLevels
(int value) Sets the specified value to theVkImageCreateInfo.mipLevels()
field.long
pNext()
pNext
(long value) Sets the specified value to theVkImageCreateInfo.pNext()
field.Prepends the specifiedVkDedicatedAllocationImageCreateInfoNV
value to thepNext
chain.Prepends the specifiedVkExportMetalObjectCreateInfoEXT
value to thepNext
chain.pNext
(VkExternalFormatANDROID value) Prepends the specifiedVkExternalFormatANDROID
value to thepNext
chain.Prepends the specifiedVkExternalMemoryImageCreateInfo
value to thepNext
chain.Prepends the specifiedVkExternalMemoryImageCreateInfoKHR
value to thepNext
chain.Prepends the specifiedVkExternalMemoryImageCreateInfoNV
value to thepNext
chain.Prepends the specifiedVkImageCompressionControlEXT
value to thepNext
chain.Prepends the specifiedVkImageDrmFormatModifierExplicitCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkImageDrmFormatModifierListCreateInfoEXT
value to thepNext
chain.pNext
(VkImageFormatListCreateInfo value) Prepends the specifiedVkImageFormatListCreateInfo
value to thepNext
chain.Prepends the specifiedVkImageFormatListCreateInfoKHR
value to thepNext
chain.Prepends the specifiedVkImageStencilUsageCreateInfo
value to thepNext
chain.Prepends the specifiedVkImageStencilUsageCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkImageSwapchainCreateInfoKHR
value to thepNext
chain.Prepends the specifiedVkImportMetalIOSurfaceInfoEXT
value to thepNext
chain.pNext
(VkImportMetalTextureInfoEXT value) Prepends the specifiedVkImportMetalTextureInfoEXT
value to thepNext
chain.Prepends the specifiedVkOpaqueCaptureDescriptorDataCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkOpticalFlowImageFormatInfoNV
value to thepNext
chain.pNext
(VkVideoProfileListInfoKHR value) Prepends the specifiedVkVideoProfileListInfoKHR
value to thepNext
chain.pQueueFamilyIndices
(IntBuffer value) Sets the address of the specifiedIntBuffer
to theVkImageCreateInfo.pQueueFamilyIndices()
field.int
queueFamilyIndexCount
(int value) Sets the specified value to theVkImageCreateInfo.queueFamilyIndexCount()
field.int
samples()
samples
(int value) Sets the specified value to theVkImageCreateInfo.samples()
field.int
sharingMode
(int value) Sets the specified value to theVkImageCreateInfo.sharingMode()
field.int
sType()
sType
(int value) Sets the specified value to theVkImageCreateInfo.sType()
field.Sets theSTRUCTURE_TYPE_IMAGE_CREATE_INFO
value to theVkImageCreateInfo.sType()
field.int
tiling()
tiling
(int value) Sets the specified value to theVkImageCreateInfo.tiling()
field.int
usage()
usage
(int value) Sets the specified value to theVkImageCreateInfo.usage()
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newVkImageCreateInfo.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.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
sType
public int sType()- Returns:
- the value of the
VkImageCreateInfo.sType()
field.
-
pNext
public long pNext()- Returns:
- the value of the
VkImageCreateInfo.pNext()
field.
-
flags
public int flags()- Returns:
- the value of the
VkImageCreateInfo.flags()
field.
-
imageType
public int imageType()- Returns:
- the value of the
VkImageCreateInfo.imageType()
field.
-
format
public int format()- Returns:
- the value of the
VkImageCreateInfo.format()
field.
-
extent
- Returns:
- a
VkExtent3D
view of theVkImageCreateInfo.extent()
field.
-
mipLevels
public int mipLevels()- Returns:
- the value of the
VkImageCreateInfo.mipLevels()
field.
-
arrayLayers
public int arrayLayers()- Returns:
- the value of the
VkImageCreateInfo.arrayLayers()
field.
-
samples
public int samples()- Returns:
- the value of the
VkImageCreateInfo.samples()
field.
-
tiling
public int tiling()- Returns:
- the value of the
VkImageCreateInfo.tiling()
field.
-
usage
public int usage()- Returns:
- the value of the
VkImageCreateInfo.usage()
field.
-
sharingMode
public int sharingMode()- Returns:
- the value of the
VkImageCreateInfo.sharingMode()
field.
-
queueFamilyIndexCount
public int queueFamilyIndexCount()- Returns:
- the value of the
VkImageCreateInfo.queueFamilyIndexCount()
field.
-
pQueueFamilyIndices
- Returns:
- a
IntBuffer
view of the data pointed to by theVkImageCreateInfo.pQueueFamilyIndices()
field.
-
initialLayout
public int initialLayout()- Returns:
- the value of the
VkImageCreateInfo.initialLayout()
field.
-
sType
Sets the specified value to theVkImageCreateInfo.sType()
field. -
sType$Default
Sets theSTRUCTURE_TYPE_IMAGE_CREATE_INFO
value to theVkImageCreateInfo.sType()
field. -
pNext
Sets the specified value to theVkImageCreateInfo.pNext()
field. -
pNext
Prepends the specifiedVkDedicatedAllocationImageCreateInfoNV
value to thepNext
chain. -
pNext
Prepends the specifiedVkExportMetalObjectCreateInfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkExternalFormatANDROID
value to thepNext
chain. -
pNext
Prepends the specifiedVkExternalMemoryImageCreateInfo
value to thepNext
chain. -
pNext
Prepends the specifiedVkExternalMemoryImageCreateInfoKHR
value to thepNext
chain. -
pNext
Prepends the specifiedVkExternalMemoryImageCreateInfoNV
value to thepNext
chain. -
pNext
Prepends the specifiedVkImageCompressionControlEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkImageDrmFormatModifierExplicitCreateInfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkImageDrmFormatModifierListCreateInfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkImageFormatListCreateInfo
value to thepNext
chain. -
pNext
Prepends the specifiedVkImageFormatListCreateInfoKHR
value to thepNext
chain. -
pNext
Prepends the specifiedVkImageStencilUsageCreateInfo
value to thepNext
chain. -
pNext
Prepends the specifiedVkImageStencilUsageCreateInfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkImageSwapchainCreateInfoKHR
value to thepNext
chain. -
pNext
Prepends the specifiedVkImportMetalIOSurfaceInfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkImportMetalTextureInfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkOpaqueCaptureDescriptorDataCreateInfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkOpticalFlowImageFormatInfoNV
value to thepNext
chain. -
pNext
Prepends the specifiedVkVideoProfileListInfoKHR
value to thepNext
chain. -
flags
Sets the specified value to theVkImageCreateInfo.flags()
field. -
imageType
Sets the specified value to theVkImageCreateInfo.imageType()
field. -
format
Sets the specified value to theVkImageCreateInfo.format()
field. -
extent
Copies the specifiedVkExtent3D
to theVkImageCreateInfo.extent()
field. -
extent
Passes theVkImageCreateInfo.extent()
field to the specifiedConsumer
. -
mipLevels
Sets the specified value to theVkImageCreateInfo.mipLevels()
field. -
arrayLayers
Sets the specified value to theVkImageCreateInfo.arrayLayers()
field. -
samples
Sets the specified value to theVkImageCreateInfo.samples()
field. -
tiling
Sets the specified value to theVkImageCreateInfo.tiling()
field. -
usage
Sets the specified value to theVkImageCreateInfo.usage()
field. -
sharingMode
Sets the specified value to theVkImageCreateInfo.sharingMode()
field. -
queueFamilyIndexCount
Sets the specified value to theVkImageCreateInfo.queueFamilyIndexCount()
field. -
pQueueFamilyIndices
Sets the address of the specifiedIntBuffer
to theVkImageCreateInfo.pQueueFamilyIndices()
field. -
initialLayout
Sets the specified value to theVkImageCreateInfo.initialLayout()
field.
-