Package org.lwjgl.vulkan
Class VkSubpassDescriptionDepthStencilResolveKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkSubpassDescriptionDepthStencilResolve
-
- org.lwjgl.vulkan.VkSubpassDescriptionDepthStencilResolveKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkSubpassDescriptionDepthStencilResolveKHR extends VkSubpassDescriptionDepthStencilResolve
SeeVkSubpassDescriptionDepthStencilResolve.Layout
struct VkSubpassDescriptionDepthStencilResolveKHR { VkStructureType sType; void const * pNext; VkResolveModeFlagBits depthResolveMode; VkResolveModeFlagBits stencilResolveMode;VkAttachmentReference2const * pDepthStencilResolveAttachment; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkSubpassDescriptionDepthStencilResolveKHR.BufferAn array ofVkSubpassDescriptionDepthStencilResolveKHRstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkSubpassDescriptionDepthStencilResolve
ALIGNOF, DEPTHRESOLVEMODE, PDEPTHSTENCILRESOLVEATTACHMENT, PNEXT, SIZEOF, STENCILRESOLVEMODE, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkSubpassDescriptionDepthStencilResolveKHR(java.nio.ByteBuffer container)Creates aVkSubpassDescriptionDepthStencilResolveKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkSubpassDescriptionDepthStencilResolveKHRcalloc()Returns a newVkSubpassDescriptionDepthStencilResolveKHRinstance allocated withmemCalloc.static VkSubpassDescriptionDepthStencilResolveKHR.Buffercalloc(int capacity)Returns a newVkSubpassDescriptionDepthStencilResolveKHR.Bufferinstance allocated withmemCalloc.static VkSubpassDescriptionDepthStencilResolveKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassDescriptionDepthStencilResolveKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSubpassDescriptionDepthStencilResolveKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassDescriptionDepthStencilResolveKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSubpassDescriptionDepthStencilResolveKHRcallocStack()Deprecated.static VkSubpassDescriptionDepthStencilResolveKHR.BuffercallocStack(int capacity)Deprecated.static VkSubpassDescriptionDepthStencilResolveKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkSubpassDescriptionDepthStencilResolveKHRcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkSubpassDescriptionDepthStencilResolveKHRcreate()Returns a newVkSubpassDescriptionDepthStencilResolveKHRinstance allocated withBufferUtils.static VkSubpassDescriptionDepthStencilResolveKHR.Buffercreate(int capacity)Returns a newVkSubpassDescriptionDepthStencilResolveKHR.Bufferinstance allocated withBufferUtils.static VkSubpassDescriptionDepthStencilResolveKHRcreate(long address)Returns a newVkSubpassDescriptionDepthStencilResolveKHRinstance for the specified memory address.static VkSubpassDescriptionDepthStencilResolveKHR.Buffercreate(long address, int capacity)Create aVkSubpassDescriptionDepthStencilResolveKHR.Bufferinstance at the specified memory.static VkSubpassDescriptionDepthStencilResolveKHRcreateSafe(long address)static VkSubpassDescriptionDepthStencilResolveKHR.BuffercreateSafe(long address, int capacity)VkSubpassDescriptionDepthStencilResolveKHRdepthResolveMode(int value)Sets the specified value to thedepthResolveModefield.static VkSubpassDescriptionDepthStencilResolveKHRmalloc()Returns a newVkSubpassDescriptionDepthStencilResolveKHRinstance allocated withmemAlloc.static VkSubpassDescriptionDepthStencilResolveKHR.Buffermalloc(int capacity)Returns a newVkSubpassDescriptionDepthStencilResolveKHR.Bufferinstance allocated withmemAlloc.static VkSubpassDescriptionDepthStencilResolveKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassDescriptionDepthStencilResolveKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkSubpassDescriptionDepthStencilResolveKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassDescriptionDepthStencilResolveKHRinstance allocated on the specifiedMemoryStack.static VkSubpassDescriptionDepthStencilResolveKHRmallocStack()Deprecated.static VkSubpassDescriptionDepthStencilResolveKHR.BuffermallocStack(int capacity)Deprecated.static VkSubpassDescriptionDepthStencilResolveKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkSubpassDescriptionDepthStencilResolveKHRmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.VkSubpassDescriptionDepthStencilResolveKHRpDepthStencilResolveAttachment(VkAttachmentReference2 value)Sets the address of the specifiedVkAttachmentReference2to thepDepthStencilResolveAttachmentfield.VkSubpassDescriptionDepthStencilResolveKHRpNext(long value)Sets the specified value to thepNextfield.VkSubpassDescriptionDepthStencilResolveKHRset(int sType, long pNext, int depthResolveMode, int stencilResolveMode, VkAttachmentReference2 pDepthStencilResolveAttachment)Initializes this struct with the specified values.VkSubpassDescriptionDepthStencilResolveKHRset(VkSubpassDescriptionDepthStencilResolveKHR src)Copies the specified struct data to this struct.VkSubpassDescriptionDepthStencilResolveKHRstencilResolveMode(int value)Sets the specified value to thestencilResolveModefield.VkSubpassDescriptionDepthStencilResolveKHRsType(int value)Sets the specified value to thesTypefield.VkSubpassDescriptionDepthStencilResolveKHRsType$Default()Sets theSTRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVEvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkSubpassDescriptionDepthStencilResolve
depthResolveMode, ndepthResolveMode, ndepthResolveMode, npDepthStencilResolveAttachment, npDepthStencilResolveAttachment, npNext, npNext, nstencilResolveMode, nstencilResolveMode, nsType, nsType, pDepthStencilResolveAttachment, pNext, set, sizeof, stencilResolveMode, sType
-
-
-
-
Constructor Detail
-
VkSubpassDescriptionDepthStencilResolveKHR
public VkSubpassDescriptionDepthStencilResolveKHR(java.nio.ByteBuffer container)
Creates aVkSubpassDescriptionDepthStencilResolveKHRinstance 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
-
sType
public VkSubpassDescriptionDepthStencilResolveKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkSubpassDescriptionDepthStencilResolve
-
sType$Default
public VkSubpassDescriptionDepthStencilResolveKHR sType$Default()
Sets theSTRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVEvalue to thesTypefield.- Overrides:
sType$Defaultin classVkSubpassDescriptionDepthStencilResolve
-
pNext
public VkSubpassDescriptionDepthStencilResolveKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkSubpassDescriptionDepthStencilResolve
-
depthResolveMode
public VkSubpassDescriptionDepthStencilResolveKHR depthResolveMode(int value)
Sets the specified value to thedepthResolveModefield.- Overrides:
depthResolveModein classVkSubpassDescriptionDepthStencilResolve
-
stencilResolveMode
public VkSubpassDescriptionDepthStencilResolveKHR stencilResolveMode(int value)
Sets the specified value to thestencilResolveModefield.- Overrides:
stencilResolveModein classVkSubpassDescriptionDepthStencilResolve
-
pDepthStencilResolveAttachment
public VkSubpassDescriptionDepthStencilResolveKHR pDepthStencilResolveAttachment(@Nullable VkAttachmentReference2 value)
Sets the address of the specifiedVkAttachmentReference2to thepDepthStencilResolveAttachmentfield.- Overrides:
pDepthStencilResolveAttachmentin classVkSubpassDescriptionDepthStencilResolve
-
set
public VkSubpassDescriptionDepthStencilResolveKHR set(int sType, long pNext, int depthResolveMode, int stencilResolveMode, @Nullable VkAttachmentReference2 pDepthStencilResolveAttachment)
Initializes this struct with the specified values.- Overrides:
setin classVkSubpassDescriptionDepthStencilResolve
-
set
public VkSubpassDescriptionDepthStencilResolveKHR set(VkSubpassDescriptionDepthStencilResolveKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkSubpassDescriptionDepthStencilResolveKHR malloc()
Returns a newVkSubpassDescriptionDepthStencilResolveKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkSubpassDescriptionDepthStencilResolveKHR calloc()
Returns a newVkSubpassDescriptionDepthStencilResolveKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkSubpassDescriptionDepthStencilResolveKHR create()
Returns a newVkSubpassDescriptionDepthStencilResolveKHRinstance allocated withBufferUtils.
-
create
public static VkSubpassDescriptionDepthStencilResolveKHR create(long address)
Returns a newVkSubpassDescriptionDepthStencilResolveKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkSubpassDescriptionDepthStencilResolveKHR createSafe(long address)
-
malloc
public static VkSubpassDescriptionDepthStencilResolveKHR.Buffer malloc(int capacity)
Returns a newVkSubpassDescriptionDepthStencilResolveKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkSubpassDescriptionDepthStencilResolveKHR.Buffer calloc(int capacity)
Returns a newVkSubpassDescriptionDepthStencilResolveKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkSubpassDescriptionDepthStencilResolveKHR.Buffer create(int capacity)
Returns a newVkSubpassDescriptionDepthStencilResolveKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkSubpassDescriptionDepthStencilResolveKHR.Buffer create(long address, int capacity)
Create aVkSubpassDescriptionDepthStencilResolveKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkSubpassDescriptionDepthStencilResolveKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkSubpassDescriptionDepthStencilResolveKHR mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkSubpassDescriptionDepthStencilResolveKHR callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkSubpassDescriptionDepthStencilResolveKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkSubpassDescriptionDepthStencilResolveKHR callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkSubpassDescriptionDepthStencilResolveKHR.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkSubpassDescriptionDepthStencilResolveKHR.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkSubpassDescriptionDepthStencilResolveKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkSubpassDescriptionDepthStencilResolveKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkSubpassDescriptionDepthStencilResolveKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassDescriptionDepthStencilResolveKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkSubpassDescriptionDepthStencilResolveKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassDescriptionDepthStencilResolveKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkSubpassDescriptionDepthStencilResolveKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassDescriptionDepthStencilResolveKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkSubpassDescriptionDepthStencilResolveKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassDescriptionDepthStencilResolveKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-