public class VkPhysicalDeviceDepthStencilResolvePropertiesKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
supportedDepthResolveModes – a bitmask of VkResolveModeFlagBitsKHR indicating the set of supported depth resolve modes. RESOLVE_MODE_SAMPLE_ZERO_BIT_KHR must be included in the set but implementations may support additional modes.supportedStencilResolveModes – a bitmask of VkResolveModeFlagBitsKHR indicating the set of supported stencil resolve modes. RESOLVE_MODE_SAMPLE_ZERO_BIT_KHR must be included in the set but implementations may support additional modes. RESOLVE_MODE_AVERAGE_BIT_KHR must not be included in the set.independentResolveNone – TRUE if the implementation supports setting the depth and stencil resolve modes to different values when one of those modes is RESOLVE_MODE_NONE_KHR. Otherwise the implementation only supports setting both modes to the same value.independentResolve – TRUE if the implementation supports all combinations of the supported depth and stencil resolve modes, including setting either depth or stencil resolve mode to RESOLVE_MODE_NONE_KHR. An implementation that supports independentResolve must also support independentResolveNone.
struct VkPhysicalDeviceDepthStencilResolvePropertiesKHR {
VkStructureType sType;
void * pNext;
VkResolveModeFlagsKHR supportedDepthResolveModes;
VkResolveModeFlagsKHR supportedStencilResolveModes;
VkBool32 independentResolveNone;
VkBool32 independentResolve;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
An array of
VkPhysicalDeviceDepthStencilResolvePropertiesKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
INDEPENDENTRESOLVE
The struct member offsets.
|
static int |
INDEPENDENTRESOLVENONE
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
SUPPORTEDDEPTHRESOLVEMODES
The struct member offsets.
|
static int |
SUPPORTEDSTENCILRESOLVEMODES
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceDepthStencilResolvePropertiesKHR(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceDepthStencilResolvePropertiesKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceDepthStencilResolvePropertiesKHR |
calloc()
Returns a new
VkPhysicalDeviceDepthStencilResolvePropertiesKHR instance allocated with memCalloc. |
static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceDepthStencilResolvePropertiesKHR |
callocStack()
Returns a new
VkPhysicalDeviceDepthStencilResolvePropertiesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceDepthStencilResolvePropertiesKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceDepthStencilResolvePropertiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceDepthStencilResolvePropertiesKHR |
create()
Returns a new
VkPhysicalDeviceDepthStencilResolvePropertiesKHR instance allocated with BufferUtils. |
static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceDepthStencilResolvePropertiesKHR |
create(long address)
Returns a new
VkPhysicalDeviceDepthStencilResolvePropertiesKHR instance for the specified memory address. |
static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer instance at the specified memory. |
static VkPhysicalDeviceDepthStencilResolvePropertiesKHR |
createSafe(long address)
|
static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer |
createSafe(long address,
int capacity)
|
boolean |
independentResolve()
Returns the value of the
independentResolve field. |
boolean |
independentResolveNone()
Returns the value of the
independentResolveNone field. |
static VkPhysicalDeviceDepthStencilResolvePropertiesKHR |
malloc()
Returns a new
VkPhysicalDeviceDepthStencilResolvePropertiesKHR instance allocated with memAlloc. |
static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceDepthStencilResolvePropertiesKHR |
mallocStack()
Returns a new
VkPhysicalDeviceDepthStencilResolvePropertiesKHR instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceDepthStencilResolvePropertiesKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceDepthStencilResolvePropertiesKHR instance allocated on the specified MemoryStack. |
static int |
nindependentResolve(long struct)
Unsafe version of
independentResolve(). |
static int |
nindependentResolveNone(long struct)
Unsafe version of
independentResolveNone(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static int |
nsupportedDepthResolveModes(long struct)
Unsafe version of
supportedDepthResolveModes(). |
static int |
nsupportedStencilResolveModes(long struct)
Unsafe version of
supportedStencilResolveModes(). |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceDepthStencilResolvePropertiesKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceDepthStencilResolvePropertiesKHR |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceDepthStencilResolvePropertiesKHR |
set(VkPhysicalDeviceDepthStencilResolvePropertiesKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceDepthStencilResolvePropertiesKHR |
sType(int value)
Sets the specified value to the
sType field. |
int |
supportedDepthResolveModes()
Returns the value of the
supportedDepthResolveModes field. |
int |
supportedStencilResolveModes()
Returns the value of the
supportedStencilResolveModes 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 SUPPORTEDDEPTHRESOLVEMODES
public static final int SUPPORTEDSTENCILRESOLVEMODES
public static final int INDEPENDENTRESOLVENONE
public static final int INDEPENDENTRESOLVE
public VkPhysicalDeviceDepthStencilResolvePropertiesKHR(java.nio.ByteBuffer container)
VkPhysicalDeviceDepthStencilResolvePropertiesKHR 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 supportedDepthResolveModes()
supportedDepthResolveModes field.public int supportedStencilResolveModes()
supportedStencilResolveModes field.public boolean independentResolveNone()
independentResolveNone field.public boolean independentResolve()
independentResolve field.public VkPhysicalDeviceDepthStencilResolvePropertiesKHR sType(int value)
sType field.public VkPhysicalDeviceDepthStencilResolvePropertiesKHR pNext(long value)
pNext field.public VkPhysicalDeviceDepthStencilResolvePropertiesKHR set(int sType, long pNext)
public VkPhysicalDeviceDepthStencilResolvePropertiesKHR set(VkPhysicalDeviceDepthStencilResolvePropertiesKHR src)
src - the source structpublic static VkPhysicalDeviceDepthStencilResolvePropertiesKHR malloc()
VkPhysicalDeviceDepthStencilResolvePropertiesKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR calloc()
VkPhysicalDeviceDepthStencilResolvePropertiesKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR create()
VkPhysicalDeviceDepthStencilResolvePropertiesKHR instance allocated with BufferUtils.public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR create(long address)
VkPhysicalDeviceDepthStencilResolvePropertiesKHR instance for the specified memory address.@Nullable public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR createSafe(long address)
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer malloc(int capacity)
VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer calloc(int capacity)
VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer create(int capacity)
VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer create(long address, int capacity)
VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR mallocStack()
VkPhysicalDeviceDepthStencilResolvePropertiesKHR instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR callocStack()
VkPhysicalDeviceDepthStencilResolvePropertiesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceDepthStencilResolvePropertiesKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceDepthStencilResolvePropertiesKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceDepthStencilResolvePropertiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer mallocStack(int capacity)
VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer callocStack(int capacity)
VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceDepthStencilResolvePropertiesKHR.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 nsupportedDepthResolveModes(long struct)
supportedDepthResolveModes().public static int nsupportedStencilResolveModes(long struct)
supportedStencilResolveModes().public static int nindependentResolveNone(long struct)
independentResolveNone().public static int nindependentResolve(long struct)
independentResolve().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.