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 ofVkImageCreateInfo
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
arrayLayers()
Returns the value of thearrayLayers
field.VkImageCreateInfo.Buffer
arrayLayers(int value)
Sets the specified value to thearrayLayers
field.VkExtent3D
extent()
Returns aVkExtent3D
view of theextent
field.VkImageCreateInfo.Buffer
extent(java.util.function.Consumer<VkExtent3D> consumer)
Passes theextent
field to the specifiedConsumer
.VkImageCreateInfo.Buffer
extent(VkExtent3D value)
Copies the specifiedVkExtent3D
to theextent
field.int
flags()
Returns the value of theflags
field.VkImageCreateInfo.Buffer
flags(int value)
Sets the specified value to theflags
field.int
format()
Returns the value of theformat
field.VkImageCreateInfo.Buffer
format(int value)
Sets the specified value to theformat
field.int
imageType()
Returns the value of theimageType
field.VkImageCreateInfo.Buffer
imageType(int value)
Sets the specified value to theimageType
field.int
initialLayout()
Returns the value of theinitialLayout
field.VkImageCreateInfo.Buffer
initialLayout(int value)
Sets the specified value to theinitialLayout
field.int
mipLevels()
Returns the value of themipLevels
field.VkImageCreateInfo.Buffer
mipLevels(int value)
Sets the specified value to themipLevels
field.long
pNext()
Returns the value of thepNext
field.VkImageCreateInfo.Buffer
pNext(long value)
Sets the specified value to thepNext
field.java.nio.IntBuffer
pQueueFamilyIndices()
Returns aIntBuffer
view of the data pointed to by thepQueueFamilyIndices
field.VkImageCreateInfo.Buffer
pQueueFamilyIndices(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepQueueFamilyIndices
field.int
queueFamilyIndexCount()
Returns the value of thequeueFamilyIndexCount
field.int
samples()
Returns the value of thesamples
field.VkImageCreateInfo.Buffer
samples(int value)
Sets the specified value to thesamples
field.int
sharingMode()
Returns the value of thesharingMode
field.VkImageCreateInfo.Buffer
sharingMode(int value)
Sets the specified value to thesharingMode
field.int
sType()
Returns the value of thesType
field.VkImageCreateInfo.Buffer
sType(int value)
Sets the specified value to thesType
field.int
tiling()
Returns the value of thetiling
field.VkImageCreateInfo.Buffer
tiling(int value)
Sets the specified value to thetiling
field.int
usage()
Returns the value of theusage
field.VkImageCreateInfo.Buffer
usage(int value)
Sets the specified value to theusage
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
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 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 thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
flags
public int flags()
Returns the value of theflags
field.
-
imageType
public int imageType()
Returns the value of theimageType
field.
-
format
public int format()
Returns the value of theformat
field.
-
extent
public VkExtent3D extent()
Returns aVkExtent3D
view of theextent
field.
-
mipLevels
public int mipLevels()
Returns the value of themipLevels
field.
-
arrayLayers
public int arrayLayers()
Returns the value of thearrayLayers
field.
-
samples
public int samples()
Returns the value of thesamples
field.
-
tiling
public int tiling()
Returns the value of thetiling
field.
-
usage
public int usage()
Returns the value of theusage
field.
-
sharingMode
public int sharingMode()
Returns the value of thesharingMode
field.
-
queueFamilyIndexCount
public int queueFamilyIndexCount()
Returns the value of thequeueFamilyIndexCount
field.
-
pQueueFamilyIndices
@Nullable public java.nio.IntBuffer pQueueFamilyIndices()
Returns aIntBuffer
view of the data pointed to by thepQueueFamilyIndices
field.
-
initialLayout
public int initialLayout()
Returns the value of theinitialLayout
field.
-
sType
public VkImageCreateInfo.Buffer sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkImageCreateInfo.Buffer pNext(long value)
Sets the specified value to thepNext
field.
-
flags
public VkImageCreateInfo.Buffer flags(int value)
Sets the specified value to theflags
field.
-
imageType
public VkImageCreateInfo.Buffer imageType(int value)
Sets the specified value to theimageType
field.
-
format
public VkImageCreateInfo.Buffer format(int value)
Sets the specified value to theformat
field.
-
extent
public VkImageCreateInfo.Buffer extent(VkExtent3D value)
Copies the specifiedVkExtent3D
to theextent
field.
-
extent
public VkImageCreateInfo.Buffer extent(java.util.function.Consumer<VkExtent3D> consumer)
Passes theextent
field to the specifiedConsumer
.
-
mipLevels
public VkImageCreateInfo.Buffer mipLevels(int value)
Sets the specified value to themipLevels
field.
-
arrayLayers
public VkImageCreateInfo.Buffer arrayLayers(int value)
Sets the specified value to thearrayLayers
field.
-
samples
public VkImageCreateInfo.Buffer samples(int value)
Sets the specified value to thesamples
field.
-
tiling
public VkImageCreateInfo.Buffer tiling(int value)
Sets the specified value to thetiling
field.
-
usage
public VkImageCreateInfo.Buffer usage(int value)
Sets the specified value to theusage
field.
-
sharingMode
public VkImageCreateInfo.Buffer sharingMode(int value)
Sets the specified value to thesharingMode
field.
-
pQueueFamilyIndices
public VkImageCreateInfo.Buffer pQueueFamilyIndices(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepQueueFamilyIndices
field.
-
initialLayout
public VkImageCreateInfo.Buffer initialLayout(int value)
Sets the specified value to theinitialLayout
field.
-
-