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:
java.lang.AutoCloseable,java.lang.Iterable<VkImageCreateInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkImageCreateInfo
public static class VkImageCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkImageCreateInfo,VkImageCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkImageCreateInfostructs.
-
-
Method Summary
-
-
-
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.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
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
public VkExtent3D extent()
- Returns:
- a
VkExtent3Dview 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
@Nullable public java.nio.IntBuffer pQueueFamilyIndices()
- Returns:
- a
IntBufferview of the data pointed to by theVkImageCreateInfo.pQueueFamilyIndices()field.
-
initialLayout
public int initialLayout()
- Returns:
- the value of the
VkImageCreateInfo.initialLayout()field.
-
sType
public VkImageCreateInfo.Buffer sType(int value)
Sets the specified value to theVkImageCreateInfo.sType()field.
-
sType$Default
public VkImageCreateInfo.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_IMAGE_CREATE_INFOvalue to theVkImageCreateInfo.sType()field.
-
pNext
public VkImageCreateInfo.Buffer pNext(long value)
Sets the specified value to theVkImageCreateInfo.pNext()field.
-
pNext
public VkImageCreateInfo.Buffer pNext(VkDedicatedAllocationImageCreateInfoNV value)
Prepends the specifiedVkDedicatedAllocationImageCreateInfoNVvalue to thepNextchain.
-
pNext
public VkImageCreateInfo.Buffer pNext(VkExternalMemoryImageCreateInfo value)
Prepends the specifiedVkExternalMemoryImageCreateInfovalue to thepNextchain.
-
pNext
public VkImageCreateInfo.Buffer pNext(VkExternalMemoryImageCreateInfoKHR value)
Prepends the specifiedVkExternalMemoryImageCreateInfoKHRvalue to thepNextchain.
-
pNext
public VkImageCreateInfo.Buffer pNext(VkExternalMemoryImageCreateInfoNV value)
Prepends the specifiedVkExternalMemoryImageCreateInfoNVvalue to thepNextchain.
-
pNext
public VkImageCreateInfo.Buffer pNext(VkImageDrmFormatModifierExplicitCreateInfoEXT value)
Prepends the specifiedVkImageDrmFormatModifierExplicitCreateInfoEXTvalue to thepNextchain.
-
pNext
public VkImageCreateInfo.Buffer pNext(VkImageDrmFormatModifierListCreateInfoEXT value)
Prepends the specifiedVkImageDrmFormatModifierListCreateInfoEXTvalue to thepNextchain.
-
pNext
public VkImageCreateInfo.Buffer pNext(VkImageFormatListCreateInfo value)
Prepends the specifiedVkImageFormatListCreateInfovalue to thepNextchain.
-
pNext
public VkImageCreateInfo.Buffer pNext(VkImageFormatListCreateInfoKHR value)
Prepends the specifiedVkImageFormatListCreateInfoKHRvalue to thepNextchain.
-
pNext
public VkImageCreateInfo.Buffer pNext(VkImageStencilUsageCreateInfo value)
Prepends the specifiedVkImageStencilUsageCreateInfovalue to thepNextchain.
-
pNext
public VkImageCreateInfo.Buffer pNext(VkImageStencilUsageCreateInfoEXT value)
Prepends the specifiedVkImageStencilUsageCreateInfoEXTvalue to thepNextchain.
-
pNext
public VkImageCreateInfo.Buffer pNext(VkImageSwapchainCreateInfoKHR value)
Prepends the specifiedVkImageSwapchainCreateInfoKHRvalue to thepNextchain.
-
pNext
public VkImageCreateInfo.Buffer pNext(VkVideoDecodeH264ProfileEXT value)
Prepends the specifiedVkVideoDecodeH264ProfileEXTvalue to thepNextchain.
-
pNext
public VkImageCreateInfo.Buffer pNext(VkVideoDecodeH265ProfileEXT value)
Prepends the specifiedVkVideoDecodeH265ProfileEXTvalue to thepNextchain.
-
pNext
public VkImageCreateInfo.Buffer pNext(VkVideoEncodeH264ProfileEXT value)
Prepends the specifiedVkVideoEncodeH264ProfileEXTvalue to thepNextchain.
-
pNext
public VkImageCreateInfo.Buffer pNext(VkVideoEncodeH265ProfileEXT value)
Prepends the specifiedVkVideoEncodeH265ProfileEXTvalue to thepNextchain.
-
pNext
public VkImageCreateInfo.Buffer pNext(VkVideoProfileKHR value)
Prepends the specifiedVkVideoProfileKHRvalue to thepNextchain.
-
pNext
public VkImageCreateInfo.Buffer pNext(VkVideoProfilesKHR value)
Prepends the specifiedVkVideoProfilesKHRvalue to thepNextchain.
-
flags
public VkImageCreateInfo.Buffer flags(int value)
Sets the specified value to theVkImageCreateInfo.flags()field.
-
imageType
public VkImageCreateInfo.Buffer imageType(int value)
Sets the specified value to theVkImageCreateInfo.imageType()field.
-
format
public VkImageCreateInfo.Buffer format(int value)
Sets the specified value to theVkImageCreateInfo.format()field.
-
extent
public VkImageCreateInfo.Buffer extent(VkExtent3D value)
Copies the specifiedVkExtent3Dto theVkImageCreateInfo.extent()field.
-
extent
public VkImageCreateInfo.Buffer extent(java.util.function.Consumer<VkExtent3D> consumer)
Passes theVkImageCreateInfo.extent()field to the specifiedConsumer.
-
mipLevels
public VkImageCreateInfo.Buffer mipLevels(int value)
Sets the specified value to theVkImageCreateInfo.mipLevels()field.
-
arrayLayers
public VkImageCreateInfo.Buffer arrayLayers(int value)
Sets the specified value to theVkImageCreateInfo.arrayLayers()field.
-
samples
public VkImageCreateInfo.Buffer samples(int value)
Sets the specified value to theVkImageCreateInfo.samples()field.
-
tiling
public VkImageCreateInfo.Buffer tiling(int value)
Sets the specified value to theVkImageCreateInfo.tiling()field.
-
usage
public VkImageCreateInfo.Buffer usage(int value)
Sets the specified value to theVkImageCreateInfo.usage()field.
-
sharingMode
public VkImageCreateInfo.Buffer sharingMode(int value)
Sets the specified value to theVkImageCreateInfo.sharingMode()field.
-
queueFamilyIndexCount
public VkImageCreateInfo.Buffer queueFamilyIndexCount(int value)
Sets the specified value to theVkImageCreateInfo.queueFamilyIndexCount()field.
-
pQueueFamilyIndices
public VkImageCreateInfo.Buffer pQueueFamilyIndices(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto theVkImageCreateInfo.pQueueFamilyIndices()field.
-
initialLayout
public VkImageCreateInfo.Buffer initialLayout(int value)
Sets the specified value to theVkImageCreateInfo.initialLayout()field.
-
-