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.NativeResourceStructure describing depth/stencil resolve properties that can be supported by an implementation.Valid Usage (Implicit)
Member documentation
supportedDepthResolveModes– a bitmask ofVkResolveModeFlagBitsKHRindicating the set of supported depth resolve modes.RESOLVE_MODE_SAMPLE_ZERO_BIT_KHRmust be included in the set but implementations may support additional modes.supportedStencilResolveModes– a bitmask ofVkResolveModeFlagBitsKHRindicating the set of supported stencil resolve modes.RESOLVE_MODE_SAMPLE_ZERO_BIT_KHRmust be included in the set but implementations may support additional modes.RESOLVE_MODE_AVERAGE_BIT_KHRmust not be included in the set.independentResolveNone–TRUEif 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–TRUEif 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 classVkPhysicalDeviceDepthStencilResolvePropertiesKHR.BufferAn array ofVkPhysicalDeviceDepthStencilResolvePropertiesKHRstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intINDEPENDENTRESOLVE
INDEPENDENTRESOLVENONE
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPE
SUPPORTEDDEPTHRESOLVEMODES
SUPPORTEDSTENCILRESOLVEMODESThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceDepthStencilResolvePropertiesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceDepthStencilResolvePropertiesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceDepthStencilResolvePropertiesKHRcalloc()Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHRinstance allocated withmemCalloc.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceDepthStencilResolvePropertiesKHRcallocStack()Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.BuffercallocStack(int capacity)Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceDepthStencilResolvePropertiesKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceDepthStencilResolvePropertiesKHRcreate()Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHRinstance allocated withBufferUtils.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceDepthStencilResolvePropertiesKHRcreate(long address)Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHRinstance for the specified memory address.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceDepthStencilResolvePropertiesKHRcreateSafe(long address)static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.BuffercreateSafe(long address, int capacity)booleanindependentResolve()Returns the value of theindependentResolvefield.booleanindependentResolveNone()Returns the value of theindependentResolveNonefield.static VkPhysicalDeviceDepthStencilResolvePropertiesKHRmalloc()Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHRinstance allocated withmemAlloc.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceDepthStencilResolvePropertiesKHRmallocStack()Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHRinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.BuffermallocStack(int capacity)Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceDepthStencilResolvePropertiesKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHRinstance allocated on the specifiedMemoryStack.static intnindependentResolve(long struct)Unsafe version ofindependentResolve().static intnindependentResolveNone(long struct)Unsafe version ofindependentResolveNone().static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.static intnsupportedDepthResolveModes(long struct)Unsafe version ofsupportedDepthResolveModes().static intnsupportedStencilResolveModes(long struct)Unsafe version ofsupportedStencilResolveModes().longpNext()Returns the value of thepNextfield.VkPhysicalDeviceDepthStencilResolvePropertiesKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceDepthStencilResolvePropertiesKHRset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceDepthStencilResolvePropertiesKHRset(VkPhysicalDeviceDepthStencilResolvePropertiesKHR src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkPhysicalDeviceDepthStencilResolvePropertiesKHRsType(int value)Sets the specified value to thesTypefield.intsupportedDepthResolveModes()Returns the value of thesupportedDepthResolveModesfield.intsupportedStencilResolveModes()Returns the value of thesupportedStencilResolveModesfield.
-
-
-
Constructor Detail
-
VkPhysicalDeviceDepthStencilResolvePropertiesKHR
public VkPhysicalDeviceDepthStencilResolvePropertiesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceDepthStencilResolvePropertiesKHRinstance 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
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
supportedDepthResolveModes
public int supportedDepthResolveModes()
Returns the value of thesupportedDepthResolveModesfield.
-
supportedStencilResolveModes
public int supportedStencilResolveModes()
Returns the value of thesupportedStencilResolveModesfield.
-
independentResolveNone
public boolean independentResolveNone()
Returns the value of theindependentResolveNonefield.
-
independentResolve
public boolean independentResolve()
Returns the value of theindependentResolvefield.
-
sType
public VkPhysicalDeviceDepthStencilResolvePropertiesKHR sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkPhysicalDeviceDepthStencilResolvePropertiesKHR pNext(long value)
Sets the specified value to thepNextfield.
-
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 newVkPhysicalDeviceDepthStencilResolvePropertiesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR calloc()
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR create()
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR create(long address)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Bufferinstance 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 newVkPhysicalDeviceDepthStencilResolvePropertiesKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR callocStack()
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHRinstance allocated on the specifiedMemoryStackand 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.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceDepthStencilResolvePropertiesKHR.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceDepthStencilResolvePropertiesKHR.Bufferinstance allocated on the thread-localMemoryStackand 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.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand 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.
-
-