Package org.lwjgl.vulkan
Class VkImageCreateInfo.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VkImageCreateInfo.Buffer>
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
ConstructorsConstructorDescriptionBuffer
(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 thearrayLayers
field.extent()
extent
(Consumer<VkExtent3D> consumer) Passes theextent
field to the specifiedConsumer
.extent
(VkExtent3D value) Copies the specifiedVkExtent3D
to theextent
field.int
flags()
flags
(int value) Sets the specified value to theflags
field.int
format()
format
(int value) Sets the specified value to theformat
field.int
imageType
(int value) Sets the specified value to theimageType
field.int
initialLayout
(int value) Sets the specified value to theinitialLayout
field.int
mipLevels
(int value) Sets the specified value to themipLevels
field.long
pNext()
pNext
(long value) Sets the specified value to thepNext
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 specifiedVkImageAlignmentControlCreateInfoMESA
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.@Nullable IntBuffer
pQueueFamilyIndices
(@Nullable IntBuffer value) Sets the address of the specifiedIntBuffer
to thepQueueFamilyIndices
field.int
queueFamilyIndexCount
(int value) Sets the specified value to thequeueFamilyIndexCount
field.int
samples()
samples
(int value) Sets the specified value to thesamples
field.int
sharingMode
(int value) Sets the specified value to thesharingMode
field.int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_IMAGE_CREATE_INFO
value to thesType
field.int
tiling()
tiling
(int value) Sets the specified value to thetiling
field.int
usage()
usage
(int value) Sets the specified value to theusage
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
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
flags
public int flags()- Returns:
- the value of the
flags
field.
-
imageType
public int imageType()- Returns:
- the value of the
imageType
field.
-
format
public int format()- Returns:
- the value of the
format
field.
-
extent
- Returns:
- a
VkExtent3D
view of theextent
field.
-
mipLevels
public int mipLevels()- Returns:
- the value of the
mipLevels
field.
-
arrayLayers
public int arrayLayers()- Returns:
- the value of the
arrayLayers
field.
-
samples
public int samples()- Returns:
- the value of the
samples
field.
-
tiling
public int tiling()- Returns:
- the value of the
tiling
field.
-
usage
public int usage()- Returns:
- the value of the
usage
field.
-
sharingMode
public int sharingMode()- Returns:
- the value of the
sharingMode
field.
-
queueFamilyIndexCount
public int queueFamilyIndexCount()- Returns:
- the value of the
queueFamilyIndexCount
field.
-
pQueueFamilyIndices
- Returns:
- a
IntBuffer
view of the data pointed to by thepQueueFamilyIndices
field.
-
initialLayout
public int initialLayout()- Returns:
- the value of the
initialLayout
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_IMAGE_CREATE_INFO
value to thesType
field. -
pNext
Sets the specified value to thepNext
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 specifiedVkImageAlignmentControlCreateInfoMESA
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 theflags
field. -
imageType
Sets the specified value to theimageType
field. -
format
Sets the specified value to theformat
field. -
extent
Copies the specifiedVkExtent3D
to theextent
field. -
extent
Passes theextent
field to the specifiedConsumer
. -
mipLevels
Sets the specified value to themipLevels
field. -
arrayLayers
Sets the specified value to thearrayLayers
field. -
samples
Sets the specified value to thesamples
field. -
tiling
Sets the specified value to thetiling
field. -
usage
Sets the specified value to theusage
field. -
sharingMode
Sets the specified value to thesharingMode
field. -
queueFamilyIndexCount
Sets the specified value to thequeueFamilyIndexCount
field. -
pQueueFamilyIndices
Sets the address of the specifiedIntBuffer
to thepQueueFamilyIndices
field. -
initialLayout
Sets the specified value to theinitialLayout
field.
-