Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkSubpassDescription2KHR

extends VkSubpassDescription2
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

See VkSubpassDescription2.

Layout


struct VkSubpassDescription2KHR {
    VkStructureType sType;
    void const * pNext;
    VkSubpassDescriptionFlags flags;
    VkPipelineBindPoint pipelineBindPoint;
    uint32_t viewMask;
    uint32_t inputAttachmentCount;
    VkAttachmentReference2 const * pInputAttachments;
    uint32_t colorAttachmentCount;
    VkAttachmentReference2 const * pColorAttachments;
    VkAttachmentReference2 const * pResolveAttachments;
    VkAttachmentReference2 const * pDepthStencilAttachment;
    uint32_t preserveAttachmentCount;
    uint32_t const * pPreserveAttachments;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Inherited from org.lwjgl.vulkan.VkSubpassDescription2:
ALIGNOFCOLORATTACHMENTCOUNTFLAGSINPUTATTACHMENTCOUNTPCOLORATTACHMENTSPDEPTHSTENCILATTACHMENTPINPUTATTACHMENTSPIPELINEBINDPOINTPNEXTPPRESERVEATTACHMENTSPRESERVEATTACHMENTCOUNTPRESOLVEATTACHMENTSSIZEOFSTYPEVIEWMASK

Constructor Summary

AccessConstructor and Description
protected
VkSubpassDescription2KHR(long address, ByteBuffer container)

public
VkSubpassDescription2KHR(ByteBuffer container)

Creates a VkSubpassDescription2KHR instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkSubpassDescription2KHR
calloc()

Hides org.lwjgl.vulkan.VkSubpassDescription2.calloc.

Returns a new VkSubpassDescription2KHR instance allocated with memCalloc.
public static VkSubpassDescription2KHR.Buffer
calloc(int
the buffer capacity
capacity
)

Hides org.lwjgl.vulkan.VkSubpassDescription2.calloc.

Returns a new VkSubpassDescription2KHR.Buffer instance allocated with memCalloc.
public static VkSubpassDescription2KHR
calloc(MemoryStack
the stack from which to allocate
stack
)

Hides org.lwjgl.vulkan.VkSubpassDescription2.calloc.

Returns a new VkSubpassDescription2KHR instance allocated on the specified MemoryStack and initializes all its bits to zero.
public static VkSubpassDescription2KHR.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Hides org.lwjgl.vulkan.VkSubpassDescription2.calloc.

Returns a new VkSubpassDescription2KHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
public static VkSubpassDescription2KHR
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkSubpassDescription2KHR
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkSubpassDescription2KHR.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkSubpassDescription2KHR.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public VkSubpassDescription2KHR
colorAttachmentCount(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.colorAttachmentCount.

Sets the specified value to the colorAttachmentCount field.
protected VkSubpassDescription2KHR
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkSubpassDescription2KHR
create()

Hides org.lwjgl.vulkan.VkSubpassDescription2.create.

Returns a new VkSubpassDescription2KHR instance allocated with BufferUtils.
public static VkSubpassDescription2KHR
create(long address)

Hides org.lwjgl.vulkan.VkSubpassDescription2.create.

Returns a new VkSubpassDescription2KHR instance for the specified memory address.
public static VkSubpassDescription2KHR.Buffer
create(int
the buffer capacity
capacity
)

Hides org.lwjgl.vulkan.VkSubpassDescription2.create.

Returns a new VkSubpassDescription2KHR.Buffer instance allocated with BufferUtils.
public static VkSubpassDescription2KHR.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Hides org.lwjgl.vulkan.VkSubpassDescription2.create.

Create a VkSubpassDescription2KHR.Buffer instance at the specified memory.
public static VkSubpassDescription2KHR
createSafe(long address)

Hides org.lwjgl.vulkan.VkSubpassDescription2.createSafe.

Like create, but returns null if address is NULL.
public static VkSubpassDescription2KHR.Buffer
createSafe(long address, int capacity)

Hides org.lwjgl.vulkan.VkSubpassDescription2.createSafe.

Like create, but returns null if address is NULL.
public VkSubpassDescription2KHR
flags(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.flags.

Sets the specified value to the flags field.
public static VkSubpassDescription2KHR
malloc()

Hides org.lwjgl.vulkan.VkSubpassDescription2.malloc.

Returns a new VkSubpassDescription2KHR instance allocated with memAlloc.
public static VkSubpassDescription2KHR.Buffer
malloc(int
the buffer capacity
capacity
)

Hides org.lwjgl.vulkan.VkSubpassDescription2.malloc.

Returns a new VkSubpassDescription2KHR.Buffer instance allocated with memAlloc.
public static VkSubpassDescription2KHR
malloc(MemoryStack
the stack from which to allocate
stack
)

Hides org.lwjgl.vulkan.VkSubpassDescription2.malloc.

Returns a new VkSubpassDescription2KHR instance allocated on the specified MemoryStack.
public static VkSubpassDescription2KHR.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Hides org.lwjgl.vulkan.VkSubpassDescription2.malloc.

Returns a new VkSubpassDescription2KHR.Buffer instance allocated on the specified MemoryStack.
public static VkSubpassDescription2KHR
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkSubpassDescription2KHR
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkSubpassDescription2KHR.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkSubpassDescription2KHR.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public VkSubpassDescription2KHR
pColorAttachments(VkAttachmentReference2.Buffer value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.pColorAttachments.

Sets the address of the specified VkAttachmentReference2.Buffer to the pColorAttachments field.
public VkSubpassDescription2KHR
pDepthStencilAttachment(VkAttachmentReference2 value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.pDepthStencilAttachment.

Sets the address of the specified VkAttachmentReference2 to the pDepthStencilAttachment field.
public VkSubpassDescription2KHR
pInputAttachments(VkAttachmentReference2.Buffer value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.pInputAttachments.

Sets the address of the specified VkAttachmentReference2.Buffer to the pInputAttachments field.
public VkSubpassDescription2KHR
pipelineBindPoint(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.pipelineBindPoint.

Sets the specified value to the pipelineBindPoint field.
public VkSubpassDescription2KHR
pNext(long value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.pNext.

Sets the specified value to the pNext field.
public VkSubpassDescription2KHR
pPreserveAttachments(IntBuffer value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.pPreserveAttachments.

Sets the address of the specified IntBuffer to the pPreserveAttachments field.
public VkSubpassDescription2KHR
pResolveAttachments(VkAttachmentReference2.Buffer value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.pResolveAttachments.

Sets the address of the specified VkAttachmentReference2.Buffer to the pResolveAttachments field.
public VkSubpassDescription2KHR
set(int sType, long pNext, int flags, int pipelineBindPoint, int viewMask, VkAttachmentReference2.Buffer pInputAttachments, int colorAttachmentCount, VkAttachmentReference2.Buffer pColorAttachments, VkAttachmentReference2.Buffer pResolveAttachments, VkAttachmentReference2 pDepthStencilAttachment, IntBuffer pPreserveAttachments)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.set.

Initializes this struct with the specified values.
public VkSubpassDescription2KHR

Returns:

this struct
set
(VkSubpassDescription2KHR
the source struct
src
)

Copies the specified struct data to this struct.

public VkSubpassDescription2KHR
sType(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.sType.

Sets the specified value to the sType field.
public VkSubpassDescription2KHR
public VkSubpassDescription2KHR
viewMask(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.viewMask.

Sets the specified value to the viewMask field.
Inherited from org.lwjgl.vulkan.VkSubpassDescription2:
colorAttachmentCountflagsinputAttachmentCountncolorAttachmentCountncolorAttachmentCountnflagsnflagsninputAttachmentCountninputAttachmentCountnpColorAttachmentsnpColorAttachmentsnpDepthStencilAttachmentnpDepthStencilAttachmentnpInputAttachmentsnpInputAttachmentsnpipelineBindPointnpipelineBindPointnpNextnpNextnpPreserveAttachmentsnpPreserveAttachmentsnpreserveAttachmentCountnpreserveAttachmentCountnpResolveAttachmentsnpResolveAttachmentsnsTypensTypenviewMasknviewMaskpColorAttachmentspDepthStencilAttachmentpInputAttachmentspipelineBindPointpNextpNextpNextpNextpNextpNextpNextpPreserveAttachmentspreserveAttachmentCountpResolveAttachmentssetsizeofsTypevalidateviewMask

Constructor Detail

VkSubpassDescription2KHRback to summary
protected VkSubpassDescription2KHR(long address, ByteBuffer container)
VkSubpassDescription2KHRback to summary
public VkSubpassDescription2KHR(ByteBuffer container)

Creates a VkSubpassDescription2KHR instance at the current position of the specified ByteBuffer container. 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

callocback to summary
public static VkSubpassDescription2KHR calloc()

Hides org.lwjgl.vulkan.VkSubpassDescription2.calloc.

Returns a new VkSubpassDescription2KHR instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static VkSubpassDescription2KHR.Buffer calloc(int capacity)

Hides org.lwjgl.vulkan.VkSubpassDescription2.calloc.

Returns a new VkSubpassDescription2KHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static VkSubpassDescription2KHR calloc(MemoryStack stack)

Hides org.lwjgl.vulkan.VkSubpassDescription2.calloc.

Returns a new VkSubpassDescription2KHR instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static VkSubpassDescription2KHR.Buffer calloc(int capacity, MemoryStack stack)

Hides org.lwjgl.vulkan.VkSubpassDescription2.calloc.

Returns a new VkSubpassDescription2KHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

callocStackback to summary
public static VkSubpassDescription2KHR callocStack()

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkSubpassDescription2KHR callocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkSubpassDescription2KHR.Buffer callocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkSubpassDescription2KHR.Buffer callocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
colorAttachmentCountback to summary
public VkSubpassDescription2KHR colorAttachmentCount(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.colorAttachmentCount.

Sets the specified value to the colorAttachmentCount field.

Annotations
@Override
createback to summary
protected VkSubpassDescription2KHR create(long address, ByteBuffer container)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static VkSubpassDescription2KHR create()

Hides org.lwjgl.vulkan.VkSubpassDescription2.create.

Returns a new VkSubpassDescription2KHR instance allocated with BufferUtils.

createback to summary
public static VkSubpassDescription2KHR create(long address)

Hides org.lwjgl.vulkan.VkSubpassDescription2.create.

Returns a new VkSubpassDescription2KHR instance for the specified memory address.

createback to summary
public static VkSubpassDescription2KHR.Buffer create(int capacity)

Hides org.lwjgl.vulkan.VkSubpassDescription2.create.

Returns a new VkSubpassDescription2KHR.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static VkSubpassDescription2KHR.Buffer create(long address, int capacity)

Hides org.lwjgl.vulkan.VkSubpassDescription2.create.

Create a VkSubpassDescription2KHR.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static VkSubpassDescription2KHR createSafe(long address)

Hides org.lwjgl.vulkan.VkSubpassDescription2.createSafe.

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static VkSubpassDescription2KHR.Buffer createSafe(long address, int capacity)

Hides org.lwjgl.vulkan.VkSubpassDescription2.createSafe.

Like create, but returns null if address is NULL.

Annotations
@Nullable
flagsback to summary
public VkSubpassDescription2KHR flags(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.flags.

Sets the specified value to the flags field.

Annotations
@Override
mallocback to summary
public static VkSubpassDescription2KHR malloc()

Hides org.lwjgl.vulkan.VkSubpassDescription2.malloc.

Returns a new VkSubpassDescription2KHR instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static VkSubpassDescription2KHR.Buffer malloc(int capacity)

Hides org.lwjgl.vulkan.VkSubpassDescription2.malloc.

Returns a new VkSubpassDescription2KHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static VkSubpassDescription2KHR malloc(MemoryStack stack)

Hides org.lwjgl.vulkan.VkSubpassDescription2.malloc.

Returns a new VkSubpassDescription2KHR instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static VkSubpassDescription2KHR.Buffer malloc(int capacity, MemoryStack stack)

Hides org.lwjgl.vulkan.VkSubpassDescription2.malloc.

Returns a new VkSubpassDescription2KHR.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

mallocStackback to summary
public static VkSubpassDescription2KHR mallocStack()

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkSubpassDescription2KHR mallocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkSubpassDescription2KHR.Buffer mallocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkSubpassDescription2KHR.Buffer mallocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
pColorAttachmentsback to summary
public VkSubpassDescription2KHR pColorAttachments(VkAttachmentReference2.Buffer value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.pColorAttachments.

Sets the address of the specified VkAttachmentReference2.Buffer to the pColorAttachments field.

Annotations
@Override
pDepthStencilAttachmentback to summary
public VkSubpassDescription2KHR pDepthStencilAttachment(VkAttachmentReference2 value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.pDepthStencilAttachment.

Sets the address of the specified VkAttachmentReference2 to the pDepthStencilAttachment field.

Annotations
@Override
pInputAttachmentsback to summary
public VkSubpassDescription2KHR pInputAttachments(VkAttachmentReference2.Buffer value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.pInputAttachments.

Sets the address of the specified VkAttachmentReference2.Buffer to the pInputAttachments field.

Annotations
@Override
pipelineBindPointback to summary
public VkSubpassDescription2KHR pipelineBindPoint(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.pipelineBindPoint.

Sets the specified value to the pipelineBindPoint field.

Annotations
@Override
pNextback to summary
public VkSubpassDescription2KHR pNext(long value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.pNext.

Sets the specified value to the pNext field.

Annotations
@Override
pPreserveAttachmentsback to summary
public VkSubpassDescription2KHR pPreserveAttachments(IntBuffer value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.pPreserveAttachments.

Sets the address of the specified IntBuffer to the pPreserveAttachments field.

Annotations
@Override
pResolveAttachmentsback to summary
public VkSubpassDescription2KHR pResolveAttachments(VkAttachmentReference2.Buffer value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.pResolveAttachments.

Sets the address of the specified VkAttachmentReference2.Buffer to the pResolveAttachments field.

Annotations
@Override
setback to summary
public VkSubpassDescription2KHR set(int sType, long pNext, int flags, int pipelineBindPoint, int viewMask, VkAttachmentReference2.Buffer pInputAttachments, int colorAttachmentCount, VkAttachmentReference2.Buffer pColorAttachments, VkAttachmentReference2.Buffer pResolveAttachments, VkAttachmentReference2 pDepthStencilAttachment, IntBuffer pPreserveAttachments)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.set.

Initializes this struct with the specified values.

Annotations
@Override
setback to summary
public VkSubpassDescription2KHR set(VkSubpassDescription2KHR src)

Copies the specified struct data to this struct.

Parameters
src:VkSubpassDescription2KHR

the source struct

Returns:VkSubpassDescription2KHR

this struct

sTypeback to summary
public VkSubpassDescription2KHR sType(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.sType.

Sets the specified value to the sType field.

Annotations
@Override
sType$Defaultback to summary
public VkSubpassDescription2KHR sType$Default()

Overrides org.lwjgl.vulkan.VkSubpassDescription2.sType$Default.

Sets the STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2 value to the sType field.

Annotations
@Override
viewMaskback to summary
public VkSubpassDescription2KHR viewMask(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.viewMask.

Sets the specified value to the viewMask field.

Annotations
@Override
org.lwjgl.vulkan back to summary

public Class VkSubpassDescription2KHR.Buffer

extends Buffer
Class Inheritance

An array of VkSubpassDescription2KHR structs.

Field Summary

Modifier and TypeField and Description
private static final VkSubpassDescription2KHR

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new VkSubpassDescription2KHR.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public VkSubpassDescription2KHR.Buffer
colorAttachmentCount(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.colorAttachmentCount.

Sets the specified value to the colorAttachmentCount field.
public VkSubpassDescription2KHR.Buffer
flags(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.flags.

Sets the specified value to the flags field.
protected VkSubpassDescription2KHR
public VkSubpassDescription2KHR.Buffer
public VkSubpassDescription2KHR.Buffer
pDepthStencilAttachment(VkAttachmentReference2 value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.pDepthStencilAttachment.

Sets the address of the specified VkAttachmentReference2 to the pDepthStencilAttachment field.
public VkSubpassDescription2KHR.Buffer
public VkSubpassDescription2KHR.Buffer
pipelineBindPoint(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.pipelineBindPoint.

Sets the specified value to the pipelineBindPoint field.
public VkSubpassDescription2KHR.Buffer
pNext(long value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.pNext.

Sets the specified value to the pNext field.
public VkSubpassDescription2KHR.Buffer
pPreserveAttachments(IntBuffer value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.pPreserveAttachments.

Sets the address of the specified IntBuffer to the pPreserveAttachments field.
public VkSubpassDescription2KHR.Buffer
protected VkSubpassDescription2KHR.Buffer
public VkSubpassDescription2KHR.Buffer
sType(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.sType.

Sets the specified value to the sType field.
public VkSubpassDescription2KHR.Buffer
public VkSubpassDescription2KHR.Buffer
viewMask(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.viewMask.

Sets the specified value to the viewMask field.
Inherited from org.lwjgl.vulkan.VkSubpassDescription2.Buffer:
colorAttachmentCountflagsinputAttachmentCountpColorAttachmentspDepthStencilAttachmentpInputAttachmentspipelineBindPointpNextpNextpNextpNextpNextpNextpNextpPreserveAttachmentspreserveAttachmentCountpResolveAttachmentssTypeviewMask

Field Detail

ELEMENT_FACTORYback to summary
private static final VkSubpassDescription2KHR ELEMENT_FACTORY

Hides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.ELEMENT_FACTORY.

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new VkSubpassDescription2KHR.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 VkSubpassDescription2KHR#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

colorAttachmentCountback to summary
public VkSubpassDescription2KHR.Buffer colorAttachmentCount(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.colorAttachmentCount.

Sets the specified value to the colorAttachmentCount field.

Annotations
@Override
flagsback to summary
public VkSubpassDescription2KHR.Buffer flags(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.flags.

Sets the specified value to the flags field.

Annotations
@Override
getElementFactoryback to summary
protected VkSubpassDescription2KHR getElementFactory()

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.getElementFactory.

Annotations
@Override
pColorAttachmentsback to summary
public VkSubpassDescription2KHR.Buffer pColorAttachments(VkAttachmentReference2.Buffer value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.pColorAttachments.

Sets the address of the specified VkAttachmentReference2.Buffer to the pColorAttachments field.

Annotations
@Override
pDepthStencilAttachmentback to summary
public VkSubpassDescription2KHR.Buffer pDepthStencilAttachment(VkAttachmentReference2 value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.pDepthStencilAttachment.

Sets the address of the specified VkAttachmentReference2 to the pDepthStencilAttachment field.

Annotations
@Override
pInputAttachmentsback to summary
public VkSubpassDescription2KHR.Buffer pInputAttachments(VkAttachmentReference2.Buffer value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.pInputAttachments.

Sets the address of the specified VkAttachmentReference2.Buffer to the pInputAttachments field.

Annotations
@Override
pipelineBindPointback to summary
public VkSubpassDescription2KHR.Buffer pipelineBindPoint(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.pipelineBindPoint.

Sets the specified value to the pipelineBindPoint field.

Annotations
@Override
pNextback to summary
public VkSubpassDescription2KHR.Buffer pNext(long value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.pNext.

Sets the specified value to the pNext field.

Annotations
@Override
pPreserveAttachmentsback to summary
public VkSubpassDescription2KHR.Buffer pPreserveAttachments(IntBuffer value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.pPreserveAttachments.

Sets the address of the specified IntBuffer to the pPreserveAttachments field.

Annotations
@Override
pResolveAttachmentsback to summary
public VkSubpassDescription2KHR.Buffer pResolveAttachments(VkAttachmentReference2.Buffer value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.pResolveAttachments.

Sets the address of the specified VkAttachmentReference2.Buffer to the pResolveAttachments field.

Annotations
@Override
selfback to summary
protected VkSubpassDescription2KHR.Buffer self()

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.self.

Annotations
@Override
sTypeback to summary
public VkSubpassDescription2KHR.Buffer sType(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.sType.

Sets the specified value to the sType field.

Annotations
@Override
sType$Defaultback to summary
public VkSubpassDescription2KHR.Buffer sType$Default()

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.sType$Default.

Sets the STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2 value to the sType field.

Annotations
@Override
viewMaskback to summary
public VkSubpassDescription2KHR.Buffer viewMask(int value)

Overrides org.lwjgl.vulkan.VkSubpassDescription2.Buffer.viewMask.

Sets the specified value to the viewMask field.

Annotations
@Override