Class VkRenderPassBeginInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkRenderPassBeginInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkRenderPassBeginInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying render pass begin information.Description
renderAreais the render area that is affected by the render pass instance. The effects of attachment load, store and multisample resolve operations are restricted to the pixels whose x and y coordinates fall within the render area on all attachments. The render area extends to all layers offramebuffer. The application must ensure (using scissor if necessary) that all rendering is contained within the render area. The render area, after any transform specified byVkRenderPassTransformBeginInfoQCOM::transformis applied, must be contained within the framebuffer dimensions.If render pass transform is enabled, then
renderAreamust equal the framebuffer pre-transformed dimensions. AfterrenderAreahas been transformed byVkRenderPassTransformBeginInfoQCOM::transform, the resulting render area must be equal to the framebuffer dimensions.If subpass shading is enabled, then
renderAreamust equal the framebuffer dimensions.When multiview is enabled, the resolve operation at the end of a subpass applies to all views in the view mask.
Note
There may be a performance cost for using a render area smaller than the framebuffer, unless it matches the render area granularity for the render pass.
Valid Usage
clearValueCountmust be greater than the largest attachment index inrenderPassspecifying aloadOp(orstencilLoadOp, if the attachment has a depth/stencil format) ofATTACHMENT_LOAD_OP_CLEAR- If
clearValueCountis not 0,pClearValuesmust be a valid pointer to an array ofclearValueCountVkClearValueunions renderPassmust be compatible with therenderPassmember of theVkFramebufferCreateInfostructure specified when creatingframebuffer- If the
pNextchain does not containVkDeviceGroupRenderPassBeginInfoor itsdeviceRenderAreaCountmember is equal to 0,renderArea.offset.xmust be greater than or equal to 0 - If the
pNextchain does not containVkDeviceGroupRenderPassBeginInfoor itsdeviceRenderAreaCountmember is equal to 0,renderArea.offset.ymust be greater than or equal to 0 - If the
pNextchain does not containVkDeviceGroupRenderPassBeginInfoor itsdeviceRenderAreaCountmember is equal to 0,renderArea.offset.x + renderArea.extent.widthmust be less than or equal toVkFramebufferCreateInfo::widththeframebufferwas created with - If the
pNextchain does not containVkDeviceGroupRenderPassBeginInfoor itsdeviceRenderAreaCountmember is equal to 0,renderArea.offset.y + renderArea.extent.heightmust be less than or equal toVkFramebufferCreateInfo::heighttheframebufferwas created with - If the
pNextchain containsVkDeviceGroupRenderPassBeginInfo,offset.x + extent.widthof each element ofpDeviceRenderAreasmust be less than or equal toVkFramebufferCreateInfo::widththeframebufferwas created with - If the
pNextchain containsVkDeviceGroupRenderPassBeginInfo,offset.y + extent.heightof each element ofpDeviceRenderAreasmust be less than or equal toVkFramebufferCreateInfo::heighttheframebufferwas created with - If
framebufferwas created with aVkFramebufferCreateInfo::flagsvalue that did not includeFRAMEBUFFER_CREATE_IMAGELESS_BIT, and thepNextchain includes aVkRenderPassAttachmentBeginInfostructure, itsattachmentCountmust be zero - If
framebufferwas created with aVkFramebufferCreateInfo::flagsvalue that includedFRAMEBUFFER_CREATE_IMAGELESS_BIT, theattachmentCountof aVkRenderPassAttachmentBeginInfostructure included in thepNextchain must be equal to the value ofVkFramebufferAttachmentsCreateInfo::attachmentImageInfoCountused to createframebuffer - If
framebufferwas created with aVkFramebufferCreateInfo::flagsvalue that includedFRAMEBUFFER_CREATE_IMAGELESS_BIT, each element of thepAttachmentsmember of aVkRenderPassAttachmentBeginInfostructure included in thepNextchain must have been created on the sameVkDeviceasframebufferandrenderPass - If
framebufferwas created with aVkFramebufferCreateInfo::flagsvalue that includedFRAMEBUFFER_CREATE_IMAGELESS_BIT, each element of thepAttachmentsmember of aVkRenderPassAttachmentBeginInfostructure included in thepNextchain must be aVkImageViewof an image created with a value ofVkImageCreateInfo::flagsequal to theflagsmember of the corresponding element ofVkFramebufferAttachmentsCreateInfo::pAttachmentImageInfosused to createframebuffer - If
framebufferwas created with aVkFramebufferCreateInfo::flagsvalue that includedFRAMEBUFFER_CREATE_IMAGELESS_BIT, each element of thepAttachmentsmember of aVkRenderPassAttachmentBeginInfostructure included in thepNextchain must be aVkImageViewwith an inherited usage equal to theusagemember of the corresponding element ofVkFramebufferAttachmentsCreateInfo::pAttachmentImageInfosused to createframebuffer - If
framebufferwas created with aVkFramebufferCreateInfo::flagsvalue that includedFRAMEBUFFER_CREATE_IMAGELESS_BIT, each element of thepAttachmentsmember of aVkRenderPassAttachmentBeginInfostructure included in thepNextchain must be aVkImageViewwith a width equal to thewidthmember of the corresponding element ofVkFramebufferAttachmentsCreateInfo::pAttachmentImageInfosused to createframebuffer - If
framebufferwas created with aVkFramebufferCreateInfo::flagsvalue that includedFRAMEBUFFER_CREATE_IMAGELESS_BIT, each element of thepAttachmentsmember of aVkRenderPassAttachmentBeginInfostructure included in thepNextchain must be aVkImageViewwith a height equal to theheightmember of the corresponding element ofVkFramebufferAttachmentsCreateInfo::pAttachmentImageInfosused to createframebuffer - If
framebufferwas created with aVkFramebufferCreateInfo::flagsvalue that includedFRAMEBUFFER_CREATE_IMAGELESS_BIT, each element of thepAttachmentsmember of aVkRenderPassAttachmentBeginInfostructure included in thepNextchain must be aVkImageViewof an image created with a value ofVkImageViewCreateInfo::subresourceRange.layerCountequal to thelayerCountmember of the corresponding element ofVkFramebufferAttachmentsCreateInfo::pAttachmentImageInfosused to createframebuffer - If
framebufferwas created with aVkFramebufferCreateInfo::flagsvalue that includedFRAMEBUFFER_CREATE_IMAGELESS_BIT, each element of thepAttachmentsmember of aVkRenderPassAttachmentBeginInfostructure included in thepNextchain must be aVkImageViewof an image created with a value ofVkImageFormatListCreateInfo::viewFormatCountequal to theviewFormatCountmember of the corresponding element ofVkFramebufferAttachmentsCreateInfo::pAttachmentImageInfosused to createframebuffer - If
framebufferwas created with aVkFramebufferCreateInfo::flagsvalue that includedFRAMEBUFFER_CREATE_IMAGELESS_BIT, each element of thepAttachmentsmember of aVkRenderPassAttachmentBeginInfostructure included in thepNextchain must be aVkImageViewof an image created with a set of elements inVkImageFormatListCreateInfo::pViewFormatsequal to the set of elements in thepViewFormatsmember of the corresponding element ofVkFramebufferAttachmentsCreateInfo::pAttachmentImageInfosused to createframebuffer - If
framebufferwas created with aVkFramebufferCreateInfo::flagsvalue that includedFRAMEBUFFER_CREATE_IMAGELESS_BIT, each element of thepAttachmentsmember of aVkRenderPassAttachmentBeginInfostructure included in thepNextchain must be aVkImageViewof an image created with a value ofVkImageViewCreateInfo::formatequal to the corresponding value ofVkAttachmentDescription::formatinrenderPass - If
framebufferwas created with aVkFramebufferCreateInfo::flagsvalue that includedFRAMEBUFFER_CREATE_IMAGELESS_BIT, each element of thepAttachmentsmember of aVkRenderPassAttachmentBeginInfostructure included in thepNextchain must be aVkImageViewof an image created with a value ofVkImageCreateInfo::samplesequal to the corresponding value ofVkAttachmentDescription::samplesinrenderPass - If the
pNextchain includesVkRenderPassTransformBeginInfoQCOM,renderArea.offsetmust equal (0,0) - If the
pNextchain includesVkRenderPassTransformBeginInfoQCOM,renderArea.extenttransformed byVkRenderPassTransformBeginInfoQCOM::transformmust equal theframebufferdimensions
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO- Each
pNextmember of any structure (including this one) in thepNextchain must be eitherNULLor a pointer to a valid instance ofVkDeviceGroupRenderPassBeginInfo,VkRenderPassAttachmentBeginInfo,VkRenderPassSampleLocationsBeginInfoEXT, orVkRenderPassTransformBeginInfoQCOM - The
sTypevalue of each struct in thepNextchain must be unique renderPassmust be a validVkRenderPasshandleframebuffermust be a validVkFramebufferhandle- Both of
framebuffer, andrenderPassmust have been created, allocated, or retrieved from the sameVkDevice
See Also
VkClearValue,VkRect2D,CmdBeginRenderPass,CmdBeginRenderPass2,CmdBeginRenderPass2KHRLayout
struct VkRenderPassBeginInfo { VkStructureTypesType(); void const *pNext(); VkRenderPassrenderPass(); VkFramebufferframebuffer();VkRect2DrenderArea(); uint32_tclearValueCount();VkClearValueconst *pClearValues(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkRenderPassBeginInfo.BufferAn array ofVkRenderPassBeginInfostructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intCLEARVALUECOUNT
FRAMEBUFFER
PCLEARVALUES
PNEXT
RENDERAREA
RENDERPASSThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkRenderPassBeginInfo(java.nio.ByteBuffer container)Creates aVkRenderPassBeginInfoinstance 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 VkRenderPassBeginInfocalloc()Returns a newVkRenderPassBeginInfoinstance allocated withmemCalloc.static VkRenderPassBeginInfo.Buffercalloc(int capacity)Returns a newVkRenderPassBeginInfo.Bufferinstance allocated withmemCalloc.static VkRenderPassBeginInfo.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassBeginInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkRenderPassBeginInfocalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassBeginInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkRenderPassBeginInfocallocStack()Deprecated.static VkRenderPassBeginInfo.BuffercallocStack(int capacity)Deprecated.static VkRenderPassBeginInfo.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkRenderPassBeginInfocallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.intclearValueCount()the number of elements inpClearValues.VkRenderPassBeginInfoclearValueCount(int value)Sets the specified value to theclearValueCount()field.static VkRenderPassBeginInfocreate()Returns a newVkRenderPassBeginInfoinstance allocated withBufferUtils.static VkRenderPassBeginInfo.Buffercreate(int capacity)Returns a newVkRenderPassBeginInfo.Bufferinstance allocated withBufferUtils.static VkRenderPassBeginInfocreate(long address)Returns a newVkRenderPassBeginInfoinstance for the specified memory address.static VkRenderPassBeginInfo.Buffercreate(long address, int capacity)Create aVkRenderPassBeginInfo.Bufferinstance at the specified memory.static VkRenderPassBeginInfocreateSafe(long address)static VkRenderPassBeginInfo.BuffercreateSafe(long address, int capacity)longframebuffer()the framebuffer containing the attachments that are used with the render pass.VkRenderPassBeginInfoframebuffer(long value)Sets the specified value to theframebuffer()field.static VkRenderPassBeginInfomalloc()Returns a newVkRenderPassBeginInfoinstance allocated withmemAlloc.static VkRenderPassBeginInfo.Buffermalloc(int capacity)Returns a newVkRenderPassBeginInfo.Bufferinstance allocated withmemAlloc.static VkRenderPassBeginInfo.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassBeginInfo.Bufferinstance allocated on the specifiedMemoryStack.static VkRenderPassBeginInfomalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassBeginInfoinstance allocated on the specifiedMemoryStack.static VkRenderPassBeginInfomallocStack()Deprecated.static VkRenderPassBeginInfo.BuffermallocStack(int capacity)Deprecated.static VkRenderPassBeginInfo.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkRenderPassBeginInfomallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static intnclearValueCount(long struct)Unsafe version ofclearValueCount().static voidnclearValueCount(long struct, int value)Sets the specified value to theclearValueCountfield of the specifiedstruct.static longnframebuffer(long struct)Unsafe version offramebuffer().static voidnframebuffer(long struct, long value)Unsafe version offramebuffer.static VkClearValue.BuffernpClearValues(long struct)Unsafe version ofpClearValues().static voidnpClearValues(long struct, VkClearValue.Buffer value)Unsafe version ofpClearValues.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static VkRect2DnrenderArea(long struct)Unsafe version ofrenderArea().static voidnrenderArea(long struct, VkRect2D value)Unsafe version ofrenderArea.static longnrenderPass(long struct)Unsafe version ofrenderPass().static voidnrenderPass(long struct, long value)Unsafe version ofrenderPass.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.VkClearValue.BufferpClearValues()a pointer to an array ofclearValueCountVkClearValuestructures containing clear values for each attachment, if the attachment uses aloadOpvalue ofATTACHMENT_LOAD_OP_CLEARor if the attachment has a depth/stencil format and uses astencilLoadOpvalue ofATTACHMENT_LOAD_OP_CLEAR.VkRenderPassBeginInfopClearValues(VkClearValue.Buffer value)Sets the address of the specifiedVkClearValue.Bufferto thepClearValues()field.longpNext()NULLor a pointer to a structure extending this structure.VkRenderPassBeginInfopNext(long value)Sets the specified value to thepNext()field.VkRenderPassBeginInfopNext(VkDeviceGroupRenderPassBeginInfo value)Prepends the specifiedVkDeviceGroupRenderPassBeginInfovalue to thepNextchain.VkRenderPassBeginInfopNext(VkDeviceGroupRenderPassBeginInfoKHR value)Prepends the specifiedVkDeviceGroupRenderPassBeginInfoKHRvalue to thepNextchain.VkRenderPassBeginInfopNext(VkRenderPassAttachmentBeginInfo value)Prepends the specifiedVkRenderPassAttachmentBeginInfovalue to thepNextchain.VkRenderPassBeginInfopNext(VkRenderPassAttachmentBeginInfoKHR value)Prepends the specifiedVkRenderPassAttachmentBeginInfoKHRvalue to thepNextchain.VkRenderPassBeginInfopNext(VkRenderPassSampleLocationsBeginInfoEXT value)Prepends the specifiedVkRenderPassSampleLocationsBeginInfoEXTvalue to thepNextchain.VkRenderPassBeginInfopNext(VkRenderPassTransformBeginInfoQCOM value)Prepends the specifiedVkRenderPassTransformBeginInfoQCOMvalue to thepNextchain.VkRect2DrenderArea()the render area that is affected by the render pass instance, and is described in more detail below.VkRenderPassBeginInforenderArea(java.util.function.Consumer<VkRect2D> consumer)Passes therenderArea()field to the specifiedConsumer.VkRenderPassBeginInforenderArea(VkRect2D value)Copies the specifiedVkRect2Dto therenderArea()field.longrenderPass()the render pass to begin an instance of.VkRenderPassBeginInforenderPass(long value)Sets the specified value to therenderPass()field.VkRenderPassBeginInfoset(int sType, long pNext, long renderPass, long framebuffer, VkRect2D renderArea, int clearValueCount, VkClearValue.Buffer pClearValues)Initializes this struct with the specified values.VkRenderPassBeginInfoset(VkRenderPassBeginInfo src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkRenderPassBeginInfosType(int value)Sets the specified value to thesType()field.VkRenderPassBeginInfosType$Default()Sets theSTRUCTURE_TYPE_RENDER_PASS_BEGIN_INFOvalue to thesType()field.
-
-
-
Constructor Detail
-
VkRenderPassBeginInfo
public VkRenderPassBeginInfo(java.nio.ByteBuffer container)
Creates aVkRenderPassBeginInfoinstance 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()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
renderPass
public long renderPass()
the render pass to begin an instance of.
-
framebuffer
public long framebuffer()
the framebuffer containing the attachments that are used with the render pass.
-
renderArea
public VkRect2D renderArea()
the render area that is affected by the render pass instance, and is described in more detail below.
-
clearValueCount
public int clearValueCount()
the number of elements inpClearValues.
-
pClearValues
@Nullable public VkClearValue.Buffer pClearValues()
a pointer to an array ofclearValueCountVkClearValuestructures containing clear values for each attachment, if the attachment uses aloadOpvalue ofATTACHMENT_LOAD_OP_CLEARor if the attachment has a depth/stencil format and uses astencilLoadOpvalue ofATTACHMENT_LOAD_OP_CLEAR. The array is indexed by attachment number. Only elements corresponding to cleared attachments are used. Other elements ofpClearValuesare ignored.
-
sType
public VkRenderPassBeginInfo sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkRenderPassBeginInfo sType$Default()
Sets theSTRUCTURE_TYPE_RENDER_PASS_BEGIN_INFOvalue to thesType()field.
-
pNext
public VkRenderPassBeginInfo pNext(long value)
Sets the specified value to thepNext()field.
-
pNext
public VkRenderPassBeginInfo pNext(VkDeviceGroupRenderPassBeginInfo value)
Prepends the specifiedVkDeviceGroupRenderPassBeginInfovalue to thepNextchain.
-
pNext
public VkRenderPassBeginInfo pNext(VkDeviceGroupRenderPassBeginInfoKHR value)
Prepends the specifiedVkDeviceGroupRenderPassBeginInfoKHRvalue to thepNextchain.
-
pNext
public VkRenderPassBeginInfo pNext(VkRenderPassAttachmentBeginInfo value)
Prepends the specifiedVkRenderPassAttachmentBeginInfovalue to thepNextchain.
-
pNext
public VkRenderPassBeginInfo pNext(VkRenderPassAttachmentBeginInfoKHR value)
Prepends the specifiedVkRenderPassAttachmentBeginInfoKHRvalue to thepNextchain.
-
pNext
public VkRenderPassBeginInfo pNext(VkRenderPassSampleLocationsBeginInfoEXT value)
Prepends the specifiedVkRenderPassSampleLocationsBeginInfoEXTvalue to thepNextchain.
-
pNext
public VkRenderPassBeginInfo pNext(VkRenderPassTransformBeginInfoQCOM value)
Prepends the specifiedVkRenderPassTransformBeginInfoQCOMvalue to thepNextchain.
-
renderPass
public VkRenderPassBeginInfo renderPass(long value)
Sets the specified value to therenderPass()field.
-
framebuffer
public VkRenderPassBeginInfo framebuffer(long value)
Sets the specified value to theframebuffer()field.
-
renderArea
public VkRenderPassBeginInfo renderArea(VkRect2D value)
Copies the specifiedVkRect2Dto therenderArea()field.
-
renderArea
public VkRenderPassBeginInfo renderArea(java.util.function.Consumer<VkRect2D> consumer)
Passes therenderArea()field to the specifiedConsumer.
-
clearValueCount
public VkRenderPassBeginInfo clearValueCount(int value)
Sets the specified value to theclearValueCount()field.
-
pClearValues
public VkRenderPassBeginInfo pClearValues(@Nullable VkClearValue.Buffer value)
Sets the address of the specifiedVkClearValue.Bufferto thepClearValues()field.
-
set
public VkRenderPassBeginInfo set(int sType, long pNext, long renderPass, long framebuffer, VkRect2D renderArea, int clearValueCount, @Nullable VkClearValue.Buffer pClearValues)
Initializes this struct with the specified values.
-
set
public VkRenderPassBeginInfo set(VkRenderPassBeginInfo src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkRenderPassBeginInfo malloc()
Returns a newVkRenderPassBeginInfoinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkRenderPassBeginInfo calloc()
Returns a newVkRenderPassBeginInfoinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkRenderPassBeginInfo create()
Returns a newVkRenderPassBeginInfoinstance allocated withBufferUtils.
-
create
public static VkRenderPassBeginInfo create(long address)
Returns a newVkRenderPassBeginInfoinstance for the specified memory address.
-
createSafe
@Nullable public static VkRenderPassBeginInfo createSafe(long address)
-
malloc
public static VkRenderPassBeginInfo.Buffer malloc(int capacity)
Returns a newVkRenderPassBeginInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkRenderPassBeginInfo.Buffer calloc(int capacity)
Returns a newVkRenderPassBeginInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkRenderPassBeginInfo.Buffer create(int capacity)
Returns a newVkRenderPassBeginInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkRenderPassBeginInfo.Buffer create(long address, int capacity)
Create aVkRenderPassBeginInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkRenderPassBeginInfo.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkRenderPassBeginInfo mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkRenderPassBeginInfo callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkRenderPassBeginInfo mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkRenderPassBeginInfo callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkRenderPassBeginInfo.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkRenderPassBeginInfo.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkRenderPassBeginInfo.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 VkRenderPassBeginInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkRenderPassBeginInfo malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassBeginInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkRenderPassBeginInfo calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassBeginInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkRenderPassBeginInfo.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassBeginInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkRenderPassBeginInfo.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassBeginInfo.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().
-
nrenderPass
public static long nrenderPass(long struct)
Unsafe version ofrenderPass().
-
nframebuffer
public static long nframebuffer(long struct)
Unsafe version offramebuffer().
-
nrenderArea
public static VkRect2D nrenderArea(long struct)
Unsafe version ofrenderArea().
-
nclearValueCount
public static int nclearValueCount(long struct)
Unsafe version ofclearValueCount().
-
npClearValues
@Nullable public static VkClearValue.Buffer npClearValues(long struct)
Unsafe version ofpClearValues().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nrenderPass
public static void nrenderPass(long struct, long value)Unsafe version ofrenderPass.
-
nframebuffer
public static void nframebuffer(long struct, long value)Unsafe version offramebuffer.
-
nrenderArea
public static void nrenderArea(long struct, VkRect2D value)Unsafe version ofrenderArea.
-
nclearValueCount
public static void nclearValueCount(long struct, int value)Sets the specified value to theclearValueCountfield of the specifiedstruct.
-
npClearValues
public static void npClearValues(long struct, @Nullable VkClearValue.Buffer value)Unsafe version ofpClearValues.
-
-