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 classAn array ofVkCommandBufferInheritanceRenderingInfoKHRstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested 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, VIEWMASKFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkCommandBufferInheritanceRenderingInfoKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance allocated withBufferUtils.create(int capacity) Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance for the specified memory address.create(long address, int capacity) Create aVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance at the specified memory.static @Nullable VkCommandBufferInheritanceRenderingInfoKHRcreateSafe(long address) static @Nullable VkCommandBufferInheritanceRenderingInfoKHR.BuffercreateSafe(long address, int capacity) depthAttachmentFormat(int value) Sets the specified value to thedepthAttachmentFormatfield.flags(int value) Sets the specified value to theflagsfield.malloc()Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance allocated on the specifiedMemoryStack.pColorAttachmentFormats(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto thepColorAttachmentFormatsfield.pNext(long value) Sets the specified value to thepNextfield.rasterizationSamples(int value) Sets the specified value to therasterizationSamplesfield.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 thestencilAttachmentFormatfield.sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFOvalue to thesTypefield.viewMask(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, viewMaskMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
VkCommandBufferInheritanceRenderingInfoKHR
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 Details
-
sType
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkCommandBufferInheritanceRenderingInfo
-
sType$Default
Sets theSTRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkCommandBufferInheritanceRenderingInfo
-
pNext
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkCommandBufferInheritanceRenderingInfo
-
flags
Sets the specified value to theflagsfield.- Overrides:
flagsin classVkCommandBufferInheritanceRenderingInfo
-
viewMask
Sets the specified value to theviewMaskfield.- Overrides:
viewMaskin classVkCommandBufferInheritanceRenderingInfo
-
pColorAttachmentFormats
public VkCommandBufferInheritanceRenderingInfoKHR pColorAttachmentFormats(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto thepColorAttachmentFormatsfield.- Overrides:
pColorAttachmentFormatsin classVkCommandBufferInheritanceRenderingInfo
-
depthAttachmentFormat
Sets the specified value to thedepthAttachmentFormatfield.- Overrides:
depthAttachmentFormatin classVkCommandBufferInheritanceRenderingInfo
-
stencilAttachmentFormat
Sets the specified value to thestencilAttachmentFormatfield.- Overrides:
stencilAttachmentFormatin classVkCommandBufferInheritanceRenderingInfo
-
rasterizationSamples
Sets the specified value to therasterizationSamplesfield.- Overrides:
rasterizationSamplesin 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:
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
Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance allocated withBufferUtils. -
create
Returns a newVkCommandBufferInheritanceRenderingInfoKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance 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 newVkCommandBufferInheritanceRenderingInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
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, MemoryStack stack) Returns a newVkCommandBufferInheritanceRenderingInfoKHR.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-