Package org.lwjgl.vulkan
Class VkCommandBufferInheritanceRenderingInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkCommandBufferInheritanceRenderingInfo
-
- org.lwjgl.vulkan.VkCommandBufferInheritanceRenderingInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkCommandBufferInheritanceRenderingInfoKHR extends VkCommandBufferInheritanceRenderingInfo
SeeVkCommandBufferInheritanceRenderingInfo.Layout
struct VkCommandBufferInheritanceRenderingInfoKHR { VkStructureType sType; void const * pNext; VkRenderingFlags flags; uint32_t viewMask; uint32_t colorAttachmentCount; VkFormat const * pColorAttachmentFormats; VkFormat depthAttachmentFormat; VkFormat stencilAttachmentFormat; VkSampleCountFlagBits rasterizationSamples; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkCommandBufferInheritanceRenderingInfoKHR.BufferAn array ofVkCommandBufferInheritanceRenderingInfoKHRstructs.
-
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.VkCommandBufferInheritanceRenderingInfo
ALIGNOF, COLORATTACHMENTCOUNT, DEPTHATTACHMENTFORMAT, FLAGS, PCOLORATTACHMENTFORMATS, PNEXT, RASTERIZATIONSAMPLES, SIZEOF, STENCILATTACHMENTFORMAT, STYPE, VIEWMASK
-
-
Constructor Summary
Constructors Constructor Description VkCommandBufferInheritanceRenderingInfoKHR(java.nio.ByteBuffer container)Creates aVkCommandBufferInheritanceRenderingInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkCommandBufferInheritanceRenderingInfoKHRcalloc()Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance allocated withmemCalloc.static VkCommandBufferInheritanceRenderingInfoKHR.Buffercalloc(int capacity)Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance allocated withmemCalloc.static VkCommandBufferInheritanceRenderingInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCommandBufferInheritanceRenderingInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCommandBufferInheritanceRenderingInfoKHRcreate()Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance allocated withBufferUtils.static VkCommandBufferInheritanceRenderingInfoKHR.Buffercreate(int capacity)Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance allocated withBufferUtils.static VkCommandBufferInheritanceRenderingInfoKHRcreate(long address)Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance for the specified memory address.static VkCommandBufferInheritanceRenderingInfoKHR.Buffercreate(long address, int capacity)Create aVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance at the specified memory.static VkCommandBufferInheritanceRenderingInfoKHRcreateSafe(long address)static VkCommandBufferInheritanceRenderingInfoKHR.BuffercreateSafe(long address, int capacity)VkCommandBufferInheritanceRenderingInfoKHRdepthAttachmentFormat(int value)Sets the specified value to thedepthAttachmentFormatfield.VkCommandBufferInheritanceRenderingInfoKHRflags(int value)Sets the specified value to theflagsfield.static VkCommandBufferInheritanceRenderingInfoKHRmalloc()Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance allocated withmemAlloc.static VkCommandBufferInheritanceRenderingInfoKHR.Buffermalloc(int capacity)Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance allocated withmemAlloc.static VkCommandBufferInheritanceRenderingInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkCommandBufferInheritanceRenderingInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance allocated on the specifiedMemoryStack.VkCommandBufferInheritanceRenderingInfoKHRpColorAttachmentFormats(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepColorAttachmentFormatsfield.VkCommandBufferInheritanceRenderingInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkCommandBufferInheritanceRenderingInfoKHRrasterizationSamples(int value)Sets the specified value to therasterizationSamplesfield.VkCommandBufferInheritanceRenderingInfoKHRset(int sType, long pNext, int flags, int viewMask, java.nio.IntBuffer pColorAttachmentFormats, int depthAttachmentFormat, int stencilAttachmentFormat, int rasterizationSamples)Initializes this struct with the specified values.VkCommandBufferInheritanceRenderingInfoKHRset(VkCommandBufferInheritanceRenderingInfoKHR src)Copies the specified struct data to this struct.VkCommandBufferInheritanceRenderingInfoKHRstencilAttachmentFormat(int value)Sets the specified value to thestencilAttachmentFormatfield.VkCommandBufferInheritanceRenderingInfoKHRsType(int value)Sets the specified value to thesTypefield.VkCommandBufferInheritanceRenderingInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFOvalue to thesTypefield.VkCommandBufferInheritanceRenderingInfoKHRviewMask(int value)Sets the specified value to theviewMaskfield.-
Methods inherited from class org.lwjgl.vulkan.VkCommandBufferInheritanceRenderingInfo
colorAttachmentCount, depthAttachmentFormat, flags, ncolorAttachmentCount, ncolorAttachmentCount, ndepthAttachmentFormat, ndepthAttachmentFormat, nflags, nflags, npColorAttachmentFormats, npColorAttachmentFormats, npNext, npNext, nrasterizationSamples, nrasterizationSamples, nstencilAttachmentFormat, nstencilAttachmentFormat, nsType, nsType, nviewMask, nviewMask, pColorAttachmentFormats, pNext, rasterizationSamples, set, sizeof, stencilAttachmentFormat, sType, validate, viewMask
-
-
-
-
Constructor Detail
-
VkCommandBufferInheritanceRenderingInfoKHR
public VkCommandBufferInheritanceRenderingInfoKHR(java.nio.ByteBuffer container)
Creates aVkCommandBufferInheritanceRenderingInfoKHRinstance 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 VkCommandBufferInheritanceRenderingInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkCommandBufferInheritanceRenderingInfo
-
sType$Default
public VkCommandBufferInheritanceRenderingInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkCommandBufferInheritanceRenderingInfo
-
pNext
public VkCommandBufferInheritanceRenderingInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkCommandBufferInheritanceRenderingInfo
-
flags
public VkCommandBufferInheritanceRenderingInfoKHR flags(int value)
Sets the specified value to theflagsfield.- Overrides:
flagsin classVkCommandBufferInheritanceRenderingInfo
-
viewMask
public VkCommandBufferInheritanceRenderingInfoKHR viewMask(int value)
Sets the specified value to theviewMaskfield.- Overrides:
viewMaskin classVkCommandBufferInheritanceRenderingInfo
-
pColorAttachmentFormats
public VkCommandBufferInheritanceRenderingInfoKHR pColorAttachmentFormats(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepColorAttachmentFormatsfield.- Overrides:
pColorAttachmentFormatsin classVkCommandBufferInheritanceRenderingInfo
-
depthAttachmentFormat
public VkCommandBufferInheritanceRenderingInfoKHR depthAttachmentFormat(int value)
Sets the specified value to thedepthAttachmentFormatfield.- Overrides:
depthAttachmentFormatin classVkCommandBufferInheritanceRenderingInfo
-
stencilAttachmentFormat
public VkCommandBufferInheritanceRenderingInfoKHR stencilAttachmentFormat(int value)
Sets the specified value to thestencilAttachmentFormatfield.- Overrides:
stencilAttachmentFormatin classVkCommandBufferInheritanceRenderingInfo
-
rasterizationSamples
public VkCommandBufferInheritanceRenderingInfoKHR rasterizationSamples(int value)
Sets the specified value to therasterizationSamplesfield.- Overrides:
rasterizationSamplesin classVkCommandBufferInheritanceRenderingInfo
-
set
public VkCommandBufferInheritanceRenderingInfoKHR set(int sType, long pNext, int flags, int viewMask, @Nullable java.nio.IntBuffer pColorAttachmentFormats, int depthAttachmentFormat, int stencilAttachmentFormat, int rasterizationSamples)
Initializes this struct with the specified values.- Overrides:
setin classVkCommandBufferInheritanceRenderingInfo
-
set
public VkCommandBufferInheritanceRenderingInfoKHR set(VkCommandBufferInheritanceRenderingInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkCommandBufferInheritanceRenderingInfoKHR malloc()
Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkCommandBufferInheritanceRenderingInfoKHR calloc()
Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkCommandBufferInheritanceRenderingInfoKHR create()
Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance allocated withBufferUtils.
-
create
public static VkCommandBufferInheritanceRenderingInfoKHR create(long address)
Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkCommandBufferInheritanceRenderingInfoKHR createSafe(long address)
-
malloc
public static VkCommandBufferInheritanceRenderingInfoKHR.Buffer malloc(int capacity)
Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkCommandBufferInheritanceRenderingInfoKHR.Buffer calloc(int capacity)
Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkCommandBufferInheritanceRenderingInfoKHR.Buffer create(int capacity)
Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkCommandBufferInheritanceRenderingInfoKHR.Buffer create(long address, int capacity)
Create aVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkCommandBufferInheritanceRenderingInfoKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkCommandBufferInheritanceRenderingInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkCommandBufferInheritanceRenderingInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkCommandBufferInheritanceRenderingInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkCommandBufferInheritanceRenderingInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-