public class VkSubpassDescriptionDepthStencilResolveKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
pDepthStencilResolveAttachment is not NULL and does not have the value ATTACHMENT_UNUSED, pDepthStencilAttachment must not have the value ATTACHMENT_UNUSEDpDepthStencilResolveAttachment is not NULL and does not have the value ATTACHMENT_UNUSED, depthResolveMode and stencilResolveMode must not both be RESOLVE_MODE_NONE_KHRpDepthStencilResolveAttachment is not NULL and does not have the value ATTACHMENT_UNUSED, pDepthStencilAttachment must not have a sample count of SAMPLE_COUNT_1_BITpDepthStencilResolveAttachment is not NULL and does not have the value ATTACHMENT_UNUSED, pDepthStencilResolveAttachment must have a sample count of SAMPLE_COUNT_1_BITpDepthStencilResolveAttachment is not NULL and does not have the value ATTACHMENT_UNUSED then it must have a format whose features contain FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BITVkFormat of pDepthStencilResolveAttachment has a depth component, then the VkFormat of pDepthStencilAttachment must have a depth component with the same number of bits and numerical typeVkFormat of pDepthStencilResolveAttachment has a stencil component, then the VkFormat of pDepthStencilAttachment must have a stencil component with the same number of bits and numerical typedepthResolveMode must be one of the bits set in VkPhysicalDeviceDepthStencilResolvePropertiesKHR::supportedDepthResolveModes or RESOLVE_MODE_NONE_KHRstencilResolveMode must be one of the bits set in VkPhysicalDeviceDepthStencilResolvePropertiesKHR::supportedStencilResolveModes or RESOLVE_MODE_NONE_KHRVkFormat of pDepthStencilResolveAttachment has both depth and stencil components, VkPhysicalDeviceDepthStencilResolvePropertiesKHR::independentResolve is FALSE, and VkPhysicalDeviceDepthStencilResolvePropertiesKHR::independentResolveNone is FALSE, then the values of depthResolveMode and stencilResolveMode must be identicalVkFormat of pDepthStencilResolveAttachment has both depth and stencil components, VkPhysicalDeviceDepthStencilResolvePropertiesKHR::independentResolve is FALSE and VkPhysicalDeviceDepthStencilResolvePropertiesKHR::independentResolveNone is TRUE, then the values of depthResolveMode and stencilResolveMode must be identical or one of them must be RESOLVE_MODE_NONE_KHRsType must be STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE_KHRdepthResolveMode must be a valid VkResolveModeFlagBitsKHR valuestencilResolveMode must be a valid VkResolveModeFlagBitsKHR valuepDepthStencilResolveAttachment is not NULL, pDepthStencilResolveAttachment must be a valid pointer to a valid VkAttachmentReference2KHR structuresType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.depthResolveMode – a bitmask of VkResolveModeFlagBitsKHR describing the depth resolve mode.stencilResolveMode – a bitmask of VkResolveModeFlagBitsKHR describing the stencil resolve mode.pDepthStencilResolveAttachment – an optional VkAttachmentReference structure defining the depth/stencil resolve attachment for this subpass and its layout.
struct VkSubpassDescriptionDepthStencilResolveKHR {
VkStructureType sType;
void const * pNext;
VkResolveModeFlagBitsKHR depthResolveMode;
VkResolveModeFlagBitsKHR stencilResolveMode;
VkAttachmentReference2KHR const * pDepthStencilResolveAttachment;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkSubpassDescriptionDepthStencilResolveKHR.Buffer
An array of
VkSubpassDescriptionDepthStencilResolveKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DEPTHRESOLVEMODE
The struct member offsets.
|
static int |
PDEPTHSTENCILRESOLVEATTACHMENT
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STENCILRESOLVEMODE
The struct member offsets.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkSubpassDescriptionDepthStencilResolveKHR(java.nio.ByteBuffer container)
Creates a
VkSubpassDescriptionDepthStencilResolveKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkSubpassDescriptionDepthStencilResolveKHR |
calloc()
Returns a new
VkSubpassDescriptionDepthStencilResolveKHR instance allocated with memCalloc. |
static VkSubpassDescriptionDepthStencilResolveKHR.Buffer |
calloc(int capacity)
Returns a new
VkSubpassDescriptionDepthStencilResolveKHR.Buffer instance allocated with memCalloc. |
static VkSubpassDescriptionDepthStencilResolveKHR |
callocStack()
Returns a new
VkSubpassDescriptionDepthStencilResolveKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSubpassDescriptionDepthStencilResolveKHR.Buffer |
callocStack(int capacity)
Returns a new
VkSubpassDescriptionDepthStencilResolveKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSubpassDescriptionDepthStencilResolveKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSubpassDescriptionDepthStencilResolveKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSubpassDescriptionDepthStencilResolveKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSubpassDescriptionDepthStencilResolveKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSubpassDescriptionDepthStencilResolveKHR |
create()
Returns a new
VkSubpassDescriptionDepthStencilResolveKHR instance allocated with BufferUtils. |
static VkSubpassDescriptionDepthStencilResolveKHR.Buffer |
create(int capacity)
Returns a new
VkSubpassDescriptionDepthStencilResolveKHR.Buffer instance allocated with BufferUtils. |
static VkSubpassDescriptionDepthStencilResolveKHR |
create(long address)
Returns a new
VkSubpassDescriptionDepthStencilResolveKHR instance for the specified memory address. |
static VkSubpassDescriptionDepthStencilResolveKHR.Buffer |
create(long address,
int capacity)
Create a
VkSubpassDescriptionDepthStencilResolveKHR.Buffer instance at the specified memory. |
static VkSubpassDescriptionDepthStencilResolveKHR |
createSafe(long address)
|
static VkSubpassDescriptionDepthStencilResolveKHR.Buffer |
createSafe(long address,
int capacity)
|
int |
depthResolveMode()
Returns the value of the
depthResolveMode field. |
VkSubpassDescriptionDepthStencilResolveKHR |
depthResolveMode(int value)
Sets the specified value to the
depthResolveMode field. |
static VkSubpassDescriptionDepthStencilResolveKHR |
malloc()
Returns a new
VkSubpassDescriptionDepthStencilResolveKHR instance allocated with memAlloc. |
static VkSubpassDescriptionDepthStencilResolveKHR.Buffer |
malloc(int capacity)
Returns a new
VkSubpassDescriptionDepthStencilResolveKHR.Buffer instance allocated with memAlloc. |
static VkSubpassDescriptionDepthStencilResolveKHR |
mallocStack()
Returns a new
VkSubpassDescriptionDepthStencilResolveKHR instance allocated on the thread-local MemoryStack. |
static VkSubpassDescriptionDepthStencilResolveKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkSubpassDescriptionDepthStencilResolveKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkSubpassDescriptionDepthStencilResolveKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSubpassDescriptionDepthStencilResolveKHR.Buffer instance allocated on the specified MemoryStack. |
static VkSubpassDescriptionDepthStencilResolveKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSubpassDescriptionDepthStencilResolveKHR instance allocated on the specified MemoryStack. |
static int |
ndepthResolveMode(long struct)
Unsafe version of
depthResolveMode(). |
static void |
ndepthResolveMode(long struct,
int value)
Unsafe version of
depthResolveMode. |
static VkAttachmentReference2KHR |
npDepthStencilResolveAttachment(long struct)
Unsafe version of
pDepthStencilResolveAttachment(). |
static void |
npDepthStencilResolveAttachment(long struct,
VkAttachmentReference2KHR value)
Unsafe version of
pDepthStencilResolveAttachment. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nstencilResolveMode(long struct)
Unsafe version of
stencilResolveMode(). |
static void |
nstencilResolveMode(long struct,
int value)
Unsafe version of
stencilResolveMode. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
VkAttachmentReference2KHR |
pDepthStencilResolveAttachment()
Returns a
VkAttachmentReference2KHR view of the struct pointed to by the pDepthStencilResolveAttachment field. |
VkSubpassDescriptionDepthStencilResolveKHR |
pDepthStencilResolveAttachment(VkAttachmentReference2KHR value)
Sets the address of the specified
VkAttachmentReference2KHR to the pDepthStencilResolveAttachment field. |
long |
pNext()
Returns the value of the
pNext field. |
VkSubpassDescriptionDepthStencilResolveKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkSubpassDescriptionDepthStencilResolveKHR |
set(int sType,
long pNext,
int depthResolveMode,
int stencilResolveMode,
VkAttachmentReference2KHR pDepthStencilResolveAttachment)
Initializes this struct with the specified values.
|
VkSubpassDescriptionDepthStencilResolveKHR |
set(VkSubpassDescriptionDepthStencilResolveKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
stencilResolveMode()
Returns the value of the
stencilResolveMode field. |
VkSubpassDescriptionDepthStencilResolveKHR |
stencilResolveMode(int value)
Sets the specified value to the
stencilResolveMode field. |
int |
sType()
Returns the value of the
sType field. |
VkSubpassDescriptionDepthStencilResolveKHR |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int DEPTHRESOLVEMODE
public static final int STENCILRESOLVEMODE
public static final int PDEPTHSTENCILRESOLVEATTACHMENT
public VkSubpassDescriptionDepthStencilResolveKHR(java.nio.ByteBuffer container)
VkSubpassDescriptionDepthStencilResolveKHR 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int depthResolveMode()
depthResolveMode field.public int stencilResolveMode()
stencilResolveMode field.@Nullable public VkAttachmentReference2KHR pDepthStencilResolveAttachment()
VkAttachmentReference2KHR view of the struct pointed to by the pDepthStencilResolveAttachment field.public VkSubpassDescriptionDepthStencilResolveKHR sType(int value)
sType field.public VkSubpassDescriptionDepthStencilResolveKHR pNext(long value)
pNext field.public VkSubpassDescriptionDepthStencilResolveKHR depthResolveMode(int value)
depthResolveMode field.public VkSubpassDescriptionDepthStencilResolveKHR stencilResolveMode(int value)
stencilResolveMode field.public VkSubpassDescriptionDepthStencilResolveKHR pDepthStencilResolveAttachment(@Nullable VkAttachmentReference2KHR value)
VkAttachmentReference2KHR to the pDepthStencilResolveAttachment field.public VkSubpassDescriptionDepthStencilResolveKHR set(int sType, long pNext, int depthResolveMode, int stencilResolveMode, @Nullable VkAttachmentReference2KHR pDepthStencilResolveAttachment)
public VkSubpassDescriptionDepthStencilResolveKHR set(VkSubpassDescriptionDepthStencilResolveKHR src)
src - the source structpublic static VkSubpassDescriptionDepthStencilResolveKHR malloc()
VkSubpassDescriptionDepthStencilResolveKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkSubpassDescriptionDepthStencilResolveKHR calloc()
VkSubpassDescriptionDepthStencilResolveKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkSubpassDescriptionDepthStencilResolveKHR create()
VkSubpassDescriptionDepthStencilResolveKHR instance allocated with BufferUtils.public static VkSubpassDescriptionDepthStencilResolveKHR create(long address)
VkSubpassDescriptionDepthStencilResolveKHR instance for the specified memory address.@Nullable public static VkSubpassDescriptionDepthStencilResolveKHR createSafe(long address)
public static VkSubpassDescriptionDepthStencilResolveKHR.Buffer malloc(int capacity)
VkSubpassDescriptionDepthStencilResolveKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSubpassDescriptionDepthStencilResolveKHR.Buffer calloc(int capacity)
VkSubpassDescriptionDepthStencilResolveKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSubpassDescriptionDepthStencilResolveKHR.Buffer create(int capacity)
VkSubpassDescriptionDepthStencilResolveKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkSubpassDescriptionDepthStencilResolveKHR.Buffer create(long address, int capacity)
VkSubpassDescriptionDepthStencilResolveKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkSubpassDescriptionDepthStencilResolveKHR.Buffer createSafe(long address, int capacity)
public static VkSubpassDescriptionDepthStencilResolveKHR mallocStack()
VkSubpassDescriptionDepthStencilResolveKHR instance allocated on the thread-local MemoryStack.public static VkSubpassDescriptionDepthStencilResolveKHR callocStack()
VkSubpassDescriptionDepthStencilResolveKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkSubpassDescriptionDepthStencilResolveKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkSubpassDescriptionDepthStencilResolveKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkSubpassDescriptionDepthStencilResolveKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkSubpassDescriptionDepthStencilResolveKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkSubpassDescriptionDepthStencilResolveKHR.Buffer mallocStack(int capacity)
VkSubpassDescriptionDepthStencilResolveKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkSubpassDescriptionDepthStencilResolveKHR.Buffer callocStack(int capacity)
VkSubpassDescriptionDepthStencilResolveKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkSubpassDescriptionDepthStencilResolveKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSubpassDescriptionDepthStencilResolveKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkSubpassDescriptionDepthStencilResolveKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSubpassDescriptionDepthStencilResolveKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int ndepthResolveMode(long struct)
depthResolveMode().public static int nstencilResolveMode(long struct)
stencilResolveMode().@Nullable public static VkAttachmentReference2KHR npDepthStencilResolveAttachment(long struct)
pDepthStencilResolveAttachment().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void ndepthResolveMode(long struct,
int value)
depthResolveMode.public static void nstencilResolveMode(long struct,
int value)
stencilResolveMode.public static void npDepthStencilResolveAttachment(long struct,
@Nullable
VkAttachmentReference2KHR value)
pDepthStencilResolveAttachment.Copyright LWJGL. All Rights Reserved. License terms.