Package org.lwjgl.vulkan
Class VkPhysicalDeviceDepthStencilResolvePropertiesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceDepthStencilResolvePropertiesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkPhysicalDeviceDepthStencilResolvePropertiesKHR extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Structure describing depth/stencil resolve properties that can be supported by an implementation.Valid Usage (Implicit)
Member documentation
supportedDepthResolveModes
– a bitmask ofVkResolveModeFlagBitsKHR
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 ofVkResolveModeFlagBitsKHR
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 isRESOLVE_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.
Layout
struct VkPhysicalDeviceDepthStencilResolvePropertiesKHR { VkStructureType sType; void * pNext; VkResolveModeFlagsKHR supportedDepthResolveModes; VkResolveModeFlagsKHR supportedStencilResolveModes; VkBool32 independentResolveNone; VkBool32 independentResolve; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
An array ofVkPhysicalDeviceDepthStencilResolvePropertiesKHR
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
INDEPENDENTRESOLVE
INDEPENDENTRESOLVENONE
PNEXTThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
STYPE
SUPPORTEDDEPTHRESOLVEMODES
SUPPORTEDSTENCILRESOLVEMODESThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceDepthStencilResolvePropertiesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceDepthStencilResolvePropertiesKHR
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceDepthStencilResolvePropertiesKHR
calloc()
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR
instance allocated withmemCalloc
.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
calloc(int capacity)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
instance allocated withmemCalloc
.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR
callocStack()
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
callocStack(int capacity)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR
create()
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR
instance allocated withBufferUtils
.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
create(int capacity)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
instance allocated withBufferUtils
.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR
create(long address)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR
instance for the specified memory address.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
create(long address, int capacity)
Create aVkPhysicalDeviceDepthStencilResolvePropertiesKHR.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 theindependentResolve
field.boolean
independentResolveNone()
Returns the value of theindependentResolveNone
field.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR
malloc()
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR
instance allocated withmemAlloc
.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
malloc(int capacity)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
instance allocated withmemAlloc
.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR
mallocStack()
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
mallocStack(int capacity)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR
instance allocated on the specifiedMemoryStack
.static int
nindependentResolve(long struct)
Unsafe version ofindependentResolve()
.static int
nindependentResolveNone(long struct)
Unsafe version ofindependentResolveNone()
.static long
npNext(long struct)
Unsafe version ofpNext()
.static void
npNext(long struct, long value)
Unsafe version ofpNext
.static int
nsType(long struct)
Unsafe version ofsType()
.static void
nsType(long struct, int value)
Unsafe version ofsType
.static int
nsupportedDepthResolveModes(long struct)
Unsafe version ofsupportedDepthResolveModes()
.static int
nsupportedStencilResolveModes(long struct)
Unsafe version ofsupportedStencilResolveModes()
.long
pNext()
Returns the value of thepNext
field.VkPhysicalDeviceDepthStencilResolvePropertiesKHR
pNext(long value)
Sets the specified value to thepNext
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 thesType
field.VkPhysicalDeviceDepthStencilResolvePropertiesKHR
sType(int value)
Sets the specified value to thesType
field.int
supportedDepthResolveModes()
Returns the value of thesupportedDepthResolveModes
field.int
supportedStencilResolveModes()
Returns the value of thesupportedStencilResolveModes
field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceDepthStencilResolvePropertiesKHR
public VkPhysicalDeviceDepthStencilResolvePropertiesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceDepthStencilResolvePropertiesKHR
instance at the current position of the specifiedByteBuffer
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
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
supportedDepthResolveModes
public int supportedDepthResolveModes()
Returns the value of thesupportedDepthResolveModes
field.
-
supportedStencilResolveModes
public int supportedStencilResolveModes()
Returns the value of thesupportedStencilResolveModes
field.
-
independentResolveNone
public boolean independentResolveNone()
Returns the value of theindependentResolveNone
field.
-
independentResolve
public boolean independentResolve()
Returns the value of theindependentResolve
field.
-
sType
public VkPhysicalDeviceDepthStencilResolvePropertiesKHR sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkPhysicalDeviceDepthStencilResolvePropertiesKHR pNext(long value)
Sets the specified value to thepNext
field.
-
set
public VkPhysicalDeviceDepthStencilResolvePropertiesKHR set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceDepthStencilResolvePropertiesKHR set(VkPhysicalDeviceDepthStencilResolvePropertiesKHR src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR malloc()
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR calloc()
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR create()
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR
instance allocated withBufferUtils
.
-
create
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR create(long address)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR mallocStack()
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR callocStack()
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType()
.
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext()
.
-
nsupportedDepthResolveModes
public static int nsupportedDepthResolveModes(long struct)
Unsafe version ofsupportedDepthResolveModes()
.
-
nsupportedStencilResolveModes
public static int nsupportedStencilResolveModes(long struct)
Unsafe version ofsupportedStencilResolveModes()
.
-
nindependentResolveNone
public static int nindependentResolveNone(long struct)
Unsafe version ofindependentResolveNone()
.
-
nindependentResolve
public static int nindependentResolve(long struct)
Unsafe version ofindependentResolve()
.
-
nsType
public static void nsType(long struct, int value)
Unsafe version ofsType
.
-
npNext
public static void npNext(long struct, long value)
Unsafe version ofpNext
.
-
-