Package org.lwjgl.vulkan
Class VkRenderingAttachmentInfoKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkRenderingAttachmentInfo>
org.lwjgl.vulkan.VkRenderingAttachmentInfo
org.lwjgl.vulkan.VkRenderingAttachmentInfoKHR
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct VkRenderingAttachmentInfoKHR {
VkStructureType sType;
void const * pNext;
VkImageView imageView;
VkImageLayout imageLayout;
VkResolveModeFlagBits resolveMode;
VkImageView resolveImageView;
VkImageLayout resolveImageLayout;
VkAttachmentLoadOp loadOp;
VkAttachmentStoreOp storeOp;
VkClearValue clearValue;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from class org.lwjgl.vulkan.VkRenderingAttachmentInfo
ALIGNOF, CLEARVALUE, IMAGELAYOUT, IMAGEVIEW, LOADOP, PNEXT, RESOLVEIMAGELAYOUT, RESOLVEIMAGEVIEW, RESOLVEMODE, SIZEOF, STOREOP, STYPEFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkRenderingAttachmentInfoKHR(ByteBuffer container) Creates aVkRenderingAttachmentInfoKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkRenderingAttachmentInfoKHRcalloc()Returns a newVkRenderingAttachmentInfoKHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkRenderingAttachmentInfoKHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkRenderingAttachmentInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkRenderingAttachmentInfoKHRcalloc(MemoryStack stack) Returns a newVkRenderingAttachmentInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.clearValue(Consumer<VkClearValue> consumer) Passes theclearValuefield to the specifiedConsumer.clearValue(VkClearValue value) Copies the specifiedVkClearValueto theclearValuefield.static VkRenderingAttachmentInfoKHRcreate()Returns a newVkRenderingAttachmentInfoKHRinstance allocated withBufferUtils.create(int capacity) Returns a newVkRenderingAttachmentInfoKHR.Bufferinstance allocated withBufferUtils.static VkRenderingAttachmentInfoKHRcreate(long address) Returns a newVkRenderingAttachmentInfoKHRinstance for the specified memory address.create(long address, int capacity) Create aVkRenderingAttachmentInfoKHR.Bufferinstance at the specified memory.static @Nullable VkRenderingAttachmentInfoKHRcreateSafe(long address) static @Nullable VkRenderingAttachmentInfoKHR.BuffercreateSafe(long address, int capacity) imageLayout(int value) Sets the specified value to theimageLayoutfield.imageView(long value) Sets the specified value to theimageViewfield.loadOp(int value) Sets the specified value to theloadOpfield.static VkRenderingAttachmentInfoKHRmalloc()Returns a newVkRenderingAttachmentInfoKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkRenderingAttachmentInfoKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkRenderingAttachmentInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkRenderingAttachmentInfoKHRmalloc(MemoryStack stack) Returns a newVkRenderingAttachmentInfoKHRinstance allocated on the specifiedMemoryStack.pNext(long value) Sets the specified value to thepNextfield.resolveImageLayout(int value) Sets the specified value to theresolveImageLayoutfield.resolveImageView(long value) Sets the specified value to theresolveImageViewfield.resolveMode(int value) Sets the specified value to theresolveModefield.set(int sType, long pNext, long imageView, int imageLayout, int resolveMode, long resolveImageView, int resolveImageLayout, int loadOp, int storeOp, VkClearValue clearValue) Initializes this struct with the specified values.Copies the specified struct data to this struct.storeOp(int value) Sets the specified value to thestoreOpfield.sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_RENDERING_ATTACHMENT_INFOvalue to thesTypefield.Methods inherited from class org.lwjgl.vulkan.VkRenderingAttachmentInfo
clearValue, imageLayout, imageView, loadOp, nclearValue, nclearValue, nimageLayout, nimageLayout, nimageView, nimageView, nloadOp, nloadOp, npNext, npNext, nresolveImageLayout, nresolveImageLayout, nresolveImageView, nresolveImageView, nresolveMode, nresolveMode, nstoreOp, nstoreOp, nsType, nsType, pNext, pNext, pNext, resolveImageLayout, resolveImageView, resolveMode, set, sizeof, storeOp, sTypeMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
VkRenderingAttachmentInfoKHR
Creates aVkRenderingAttachmentInfoKHRinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sType
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkRenderingAttachmentInfo
-
sType$Default
Sets theSTRUCTURE_TYPE_RENDERING_ATTACHMENT_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkRenderingAttachmentInfo
-
pNext
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkRenderingAttachmentInfo
-
imageView
Sets the specified value to theimageViewfield.- Overrides:
imageViewin classVkRenderingAttachmentInfo
-
imageLayout
Sets the specified value to theimageLayoutfield.- Overrides:
imageLayoutin classVkRenderingAttachmentInfo
-
resolveMode
Sets the specified value to theresolveModefield.- Overrides:
resolveModein classVkRenderingAttachmentInfo
-
resolveImageView
Sets the specified value to theresolveImageViewfield.- Overrides:
resolveImageViewin classVkRenderingAttachmentInfo
-
resolveImageLayout
Sets the specified value to theresolveImageLayoutfield.- Overrides:
resolveImageLayoutin classVkRenderingAttachmentInfo
-
loadOp
Sets the specified value to theloadOpfield.- Overrides:
loadOpin classVkRenderingAttachmentInfo
-
storeOp
Sets the specified value to thestoreOpfield.- Overrides:
storeOpin classVkRenderingAttachmentInfo
-
clearValue
Copies the specifiedVkClearValueto theclearValuefield.- Overrides:
clearValuein classVkRenderingAttachmentInfo
-
clearValue
Passes theclearValuefield to the specifiedConsumer.- Overrides:
clearValuein classVkRenderingAttachmentInfo
-
set
public VkRenderingAttachmentInfoKHR set(int sType, long pNext, long imageView, int imageLayout, int resolveMode, long resolveImageView, int resolveImageLayout, int loadOp, int storeOp, VkClearValue clearValue) Initializes this struct with the specified values.- Overrides:
setin classVkRenderingAttachmentInfo
-
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkRenderingAttachmentInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkRenderingAttachmentInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkRenderingAttachmentInfoKHRinstance allocated withBufferUtils. -
create
Returns a newVkRenderingAttachmentInfoKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkRenderingAttachmentInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkRenderingAttachmentInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkRenderingAttachmentInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkRenderingAttachmentInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkRenderingAttachmentInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkRenderingAttachmentInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkRenderingAttachmentInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkRenderingAttachmentInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-