Package org.lwjgl.vulkan
Class VkFramebufferAttachmentsCreateInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkFramebufferAttachmentsCreateInfo
-
- org.lwjgl.vulkan.VkFramebufferAttachmentsCreateInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkFramebufferAttachmentsCreateInfoKHR extends VkFramebufferAttachmentsCreateInfo
SeeVkFramebufferAttachmentsCreateInfo.Layout
struct VkFramebufferAttachmentsCreateInfoKHR { VkStructureType sType; void const * pNext; uint32_t attachmentImageInfoCount;VkFramebufferAttachmentImageInfoconst * pAttachmentImageInfos; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkFramebufferAttachmentsCreateInfoKHR.BufferAn array ofVkFramebufferAttachmentsCreateInfoKHRstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkFramebufferAttachmentsCreateInfo
ALIGNOF, ATTACHMENTIMAGEINFOCOUNT, PATTACHMENTIMAGEINFOS, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkFramebufferAttachmentsCreateInfoKHR(java.nio.ByteBuffer container)Creates aVkFramebufferAttachmentsCreateInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkFramebufferAttachmentsCreateInfoKHRcalloc()Returns a newVkFramebufferAttachmentsCreateInfoKHRinstance allocated withmemCalloc.static VkFramebufferAttachmentsCreateInfoKHR.Buffercalloc(int capacity)Returns a newVkFramebufferAttachmentsCreateInfoKHR.Bufferinstance allocated withmemCalloc.static VkFramebufferAttachmentsCreateInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkFramebufferAttachmentsCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkFramebufferAttachmentsCreateInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkFramebufferAttachmentsCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkFramebufferAttachmentsCreateInfoKHRcallocStack()Deprecated.static VkFramebufferAttachmentsCreateInfoKHR.BuffercallocStack(int capacity)Deprecated.static VkFramebufferAttachmentsCreateInfoKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkFramebufferAttachmentsCreateInfoKHRcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkFramebufferAttachmentsCreateInfoKHRcreate()Returns a newVkFramebufferAttachmentsCreateInfoKHRinstance allocated withBufferUtils.static VkFramebufferAttachmentsCreateInfoKHR.Buffercreate(int capacity)Returns a newVkFramebufferAttachmentsCreateInfoKHR.Bufferinstance allocated withBufferUtils.static VkFramebufferAttachmentsCreateInfoKHRcreate(long address)Returns a newVkFramebufferAttachmentsCreateInfoKHRinstance for the specified memory address.static VkFramebufferAttachmentsCreateInfoKHR.Buffercreate(long address, int capacity)Create aVkFramebufferAttachmentsCreateInfoKHR.Bufferinstance at the specified memory.static VkFramebufferAttachmentsCreateInfoKHRcreateSafe(long address)static VkFramebufferAttachmentsCreateInfoKHR.BuffercreateSafe(long address, int capacity)static VkFramebufferAttachmentsCreateInfoKHRmalloc()Returns a newVkFramebufferAttachmentsCreateInfoKHRinstance allocated withmemAlloc.static VkFramebufferAttachmentsCreateInfoKHR.Buffermalloc(int capacity)Returns a newVkFramebufferAttachmentsCreateInfoKHR.Bufferinstance allocated withmemAlloc.static VkFramebufferAttachmentsCreateInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkFramebufferAttachmentsCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkFramebufferAttachmentsCreateInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkFramebufferAttachmentsCreateInfoKHRinstance allocated on the specifiedMemoryStack.static VkFramebufferAttachmentsCreateInfoKHRmallocStack()Deprecated.static VkFramebufferAttachmentsCreateInfoKHR.BuffermallocStack(int capacity)Deprecated.static VkFramebufferAttachmentsCreateInfoKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkFramebufferAttachmentsCreateInfoKHRmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.VkFramebufferAttachmentsCreateInfoKHRpAttachmentImageInfos(VkFramebufferAttachmentImageInfo.Buffer value)Sets the address of the specifiedVkFramebufferAttachmentImageInfo.Bufferto thepAttachmentImageInfosfield.VkFramebufferAttachmentsCreateInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkFramebufferAttachmentsCreateInfoKHRset(int sType, long pNext, VkFramebufferAttachmentImageInfo.Buffer pAttachmentImageInfos)Initializes this struct with the specified values.VkFramebufferAttachmentsCreateInfoKHRset(VkFramebufferAttachmentsCreateInfoKHR src)Copies the specified struct data to this struct.VkFramebufferAttachmentsCreateInfoKHRsType(int value)Sets the specified value to thesTypefield.VkFramebufferAttachmentsCreateInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFOvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkFramebufferAttachmentsCreateInfo
attachmentImageInfoCount, nattachmentImageInfoCount, nattachmentImageInfoCount, npAttachmentImageInfos, npAttachmentImageInfos, npNext, npNext, nsType, nsType, pAttachmentImageInfos, pNext, set, sizeof, sType, validate
-
-
-
-
Constructor Detail
-
VkFramebufferAttachmentsCreateInfoKHR
public VkFramebufferAttachmentsCreateInfoKHR(java.nio.ByteBuffer container)
Creates aVkFramebufferAttachmentsCreateInfoKHRinstance 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 Detail
-
sType
public VkFramebufferAttachmentsCreateInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkFramebufferAttachmentsCreateInfo
-
sType$Default
public VkFramebufferAttachmentsCreateInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkFramebufferAttachmentsCreateInfo
-
pNext
public VkFramebufferAttachmentsCreateInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkFramebufferAttachmentsCreateInfo
-
pAttachmentImageInfos
public VkFramebufferAttachmentsCreateInfoKHR pAttachmentImageInfos(@Nullable VkFramebufferAttachmentImageInfo.Buffer value)
Sets the address of the specifiedVkFramebufferAttachmentImageInfo.Bufferto thepAttachmentImageInfosfield.- Overrides:
pAttachmentImageInfosin classVkFramebufferAttachmentsCreateInfo
-
set
public VkFramebufferAttachmentsCreateInfoKHR set(int sType, long pNext, @Nullable VkFramebufferAttachmentImageInfo.Buffer pAttachmentImageInfos)
Initializes this struct with the specified values.- Overrides:
setin classVkFramebufferAttachmentsCreateInfo
-
set
public VkFramebufferAttachmentsCreateInfoKHR set(VkFramebufferAttachmentsCreateInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkFramebufferAttachmentsCreateInfoKHR malloc()
Returns a newVkFramebufferAttachmentsCreateInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkFramebufferAttachmentsCreateInfoKHR calloc()
Returns a newVkFramebufferAttachmentsCreateInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkFramebufferAttachmentsCreateInfoKHR create()
Returns a newVkFramebufferAttachmentsCreateInfoKHRinstance allocated withBufferUtils.
-
create
public static VkFramebufferAttachmentsCreateInfoKHR create(long address)
Returns a newVkFramebufferAttachmentsCreateInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkFramebufferAttachmentsCreateInfoKHR createSafe(long address)
-
malloc
public static VkFramebufferAttachmentsCreateInfoKHR.Buffer malloc(int capacity)
Returns a newVkFramebufferAttachmentsCreateInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkFramebufferAttachmentsCreateInfoKHR.Buffer calloc(int capacity)
Returns a newVkFramebufferAttachmentsCreateInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkFramebufferAttachmentsCreateInfoKHR.Buffer create(int capacity)
Returns a newVkFramebufferAttachmentsCreateInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkFramebufferAttachmentsCreateInfoKHR.Buffer create(long address, int capacity)
Create aVkFramebufferAttachmentsCreateInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkFramebufferAttachmentsCreateInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkFramebufferAttachmentsCreateInfoKHR mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkFramebufferAttachmentsCreateInfoKHR callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkFramebufferAttachmentsCreateInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkFramebufferAttachmentsCreateInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkFramebufferAttachmentsCreateInfoKHR.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkFramebufferAttachmentsCreateInfoKHR.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkFramebufferAttachmentsCreateInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkFramebufferAttachmentsCreateInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkFramebufferAttachmentsCreateInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferAttachmentsCreateInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkFramebufferAttachmentsCreateInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferAttachmentsCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkFramebufferAttachmentsCreateInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferAttachmentsCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkFramebufferAttachmentsCreateInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferAttachmentsCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-