Package org.lwjgl.vulkan
Class VkCommandBufferInheritanceRenderingInfoKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkCommandBufferInheritanceRenderingInfo>
org.lwjgl.vulkan.VkCommandBufferInheritanceRenderingInfo
org.lwjgl.vulkan.VkCommandBufferInheritanceRenderingInfoKHR
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class VkCommandBufferInheritanceRenderingInfoKHR
extends VkCommandBufferInheritanceRenderingInfo
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 ClassesModifier and TypeClassDescriptionstatic class
An array ofVkCommandBufferInheritanceRenderingInfoKHR
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from class org.lwjgl.vulkan.VkCommandBufferInheritanceRenderingInfo
ALIGNOF, COLORATTACHMENTCOUNT, DEPTHATTACHMENTFORMAT, FLAGS, PCOLORATTACHMENTFORMATS, PNEXT, RASTERIZATIONSAMPLES, SIZEOF, STENCILATTACHMENTFORMAT, STYPE, VIEWMASK
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkCommandBufferInheritanceRenderingInfoKHR
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newVkCommandBufferInheritanceRenderingInfoKHR
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newVkCommandBufferInheritanceRenderingInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newVkCommandBufferInheritanceRenderingInfoKHR
instance allocated withBufferUtils
.create
(int capacity) Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newVkCommandBufferInheritanceRenderingInfoKHR
instance for the specified memory address.create
(long address, int capacity) Create aVkCommandBufferInheritanceRenderingInfoKHR.Buffer
instance at the specified memory.static @Nullable VkCommandBufferInheritanceRenderingInfoKHR
createSafe
(long address) static @Nullable VkCommandBufferInheritanceRenderingInfoKHR.Buffer
createSafe
(long address, int capacity) depthAttachmentFormat
(int value) Sets the specified value to thedepthAttachmentFormat
field.flags
(int value) Sets the specified value to theflags
field.malloc()
Returns a newVkCommandBufferInheritanceRenderingInfoKHR
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newVkCommandBufferInheritanceRenderingInfoKHR
instance allocated on the specifiedMemoryStack
.pColorAttachmentFormats
(@Nullable IntBuffer value) Sets the address of the specifiedIntBuffer
to thepColorAttachmentFormats
field.pNext
(long value) Sets the specified value to thepNext
field.rasterizationSamples
(int value) Sets the specified value to therasterizationSamples
field.set
(int sType, long pNext, int flags, int viewMask, @Nullable IntBuffer pColorAttachmentFormats, int depthAttachmentFormat, int stencilAttachmentFormat, int rasterizationSamples) Initializes this struct with the specified values.Copies the specified struct data to this struct.stencilAttachmentFormat
(int value) Sets the specified value to thestencilAttachmentFormat
field.sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFO
value to thesType
field.viewMask
(int value) Sets the specified value to theviewMask
field.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
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
VkCommandBufferInheritanceRenderingInfoKHR
Creates aVkCommandBufferInheritanceRenderingInfoKHR
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 Details
-
sType
Sets the specified value to thesType
field.- Overrides:
sType
in classVkCommandBufferInheritanceRenderingInfo
-
sType$Default
Sets theSTRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFO
value to thesType
field.- Overrides:
sType$Default
in classVkCommandBufferInheritanceRenderingInfo
-
pNext
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkCommandBufferInheritanceRenderingInfo
-
flags
Sets the specified value to theflags
field.- Overrides:
flags
in classVkCommandBufferInheritanceRenderingInfo
-
viewMask
Sets the specified value to theviewMask
field.- Overrides:
viewMask
in classVkCommandBufferInheritanceRenderingInfo
-
pColorAttachmentFormats
public VkCommandBufferInheritanceRenderingInfoKHR pColorAttachmentFormats(@Nullable IntBuffer value) Sets the address of the specifiedIntBuffer
to thepColorAttachmentFormats
field.- Overrides:
pColorAttachmentFormats
in classVkCommandBufferInheritanceRenderingInfo
-
depthAttachmentFormat
Sets the specified value to thedepthAttachmentFormat
field.- Overrides:
depthAttachmentFormat
in classVkCommandBufferInheritanceRenderingInfo
-
stencilAttachmentFormat
Sets the specified value to thestencilAttachmentFormat
field.- Overrides:
stencilAttachmentFormat
in classVkCommandBufferInheritanceRenderingInfo
-
rasterizationSamples
Sets the specified value to therasterizationSamples
field.- Overrides:
rasterizationSamples
in classVkCommandBufferInheritanceRenderingInfo
-
set
public VkCommandBufferInheritanceRenderingInfoKHR set(int sType, long pNext, int flags, int viewMask, @Nullable IntBuffer pColorAttachmentFormats, int depthAttachmentFormat, int stencilAttachmentFormat, int rasterizationSamples) Initializes this struct with the specified values.- Overrides:
set
in classVkCommandBufferInheritanceRenderingInfo
-
set
public VkCommandBufferInheritanceRenderingInfoKHR set(VkCommandBufferInheritanceRenderingInfoKHR src) Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newVkCommandBufferInheritanceRenderingInfoKHR
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkCommandBufferInheritanceRenderingInfoKHR
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkCommandBufferInheritanceRenderingInfoKHR
instance allocated withBufferUtils
. -
create
Returns a newVkCommandBufferInheritanceRenderingInfoKHR
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkCommandBufferInheritanceRenderingInfoKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable VkCommandBufferInheritanceRenderingInfoKHR.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkCommandBufferInheritanceRenderingInfoKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkCommandBufferInheritanceRenderingInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
public static VkCommandBufferInheritanceRenderingInfoKHR.Buffer malloc(int capacity, MemoryStack stack) Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
public static VkCommandBufferInheritanceRenderingInfoKHR.Buffer calloc(int capacity, MemoryStack stack) Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-