Package org.lwjgl.vulkan
Class VkPipelineRenderingCreateInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPipelineRenderingCreateInfo
-
- org.lwjgl.vulkan.VkPipelineRenderingCreateInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPipelineRenderingCreateInfoKHR extends VkPipelineRenderingCreateInfo
SeeVkPipelineRenderingCreateInfo.Layout
struct VkPipelineRenderingCreateInfoKHR { VkStructureType sType; void const * pNext; uint32_t viewMask; uint32_t colorAttachmentCount; VkFormat const * pColorAttachmentFormats; VkFormat depthAttachmentFormat; VkFormat stencilAttachmentFormat; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPipelineRenderingCreateInfoKHR.BufferAn array ofVkPipelineRenderingCreateInfoKHRstructs.
-
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.VkPipelineRenderingCreateInfo
ALIGNOF, COLORATTACHMENTCOUNT, DEPTHATTACHMENTFORMAT, PCOLORATTACHMENTFORMATS, PNEXT, SIZEOF, STENCILATTACHMENTFORMAT, STYPE, VIEWMASK
-
-
Constructor Summary
Constructors Constructor Description VkPipelineRenderingCreateInfoKHR(java.nio.ByteBuffer container)Creates aVkPipelineRenderingCreateInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPipelineRenderingCreateInfoKHRcalloc()Returns a newVkPipelineRenderingCreateInfoKHRinstance allocated withmemCalloc.static VkPipelineRenderingCreateInfoKHR.Buffercalloc(int capacity)Returns a newVkPipelineRenderingCreateInfoKHR.Bufferinstance allocated withmemCalloc.static VkPipelineRenderingCreateInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRenderingCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineRenderingCreateInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRenderingCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineRenderingCreateInfoKHRcreate()Returns a newVkPipelineRenderingCreateInfoKHRinstance allocated withBufferUtils.static VkPipelineRenderingCreateInfoKHR.Buffercreate(int capacity)Returns a newVkPipelineRenderingCreateInfoKHR.Bufferinstance allocated withBufferUtils.static VkPipelineRenderingCreateInfoKHRcreate(long address)Returns a newVkPipelineRenderingCreateInfoKHRinstance for the specified memory address.static VkPipelineRenderingCreateInfoKHR.Buffercreate(long address, int capacity)Create aVkPipelineRenderingCreateInfoKHR.Bufferinstance at the specified memory.static VkPipelineRenderingCreateInfoKHRcreateSafe(long address)static VkPipelineRenderingCreateInfoKHR.BuffercreateSafe(long address, int capacity)VkPipelineRenderingCreateInfoKHRdepthAttachmentFormat(int value)Sets the specified value to thedepthAttachmentFormatfield.static VkPipelineRenderingCreateInfoKHRmalloc()Returns a newVkPipelineRenderingCreateInfoKHRinstance allocated withmemAlloc.static VkPipelineRenderingCreateInfoKHR.Buffermalloc(int capacity)Returns a newVkPipelineRenderingCreateInfoKHR.Bufferinstance allocated withmemAlloc.static VkPipelineRenderingCreateInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRenderingCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPipelineRenderingCreateInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRenderingCreateInfoKHRinstance allocated on the specifiedMemoryStack.VkPipelineRenderingCreateInfoKHRpColorAttachmentFormats(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepColorAttachmentFormatsfield.VkPipelineRenderingCreateInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkPipelineRenderingCreateInfoKHRset(int sType, long pNext, int viewMask, java.nio.IntBuffer pColorAttachmentFormats, int depthAttachmentFormat, int stencilAttachmentFormat)Initializes this struct with the specified values.VkPipelineRenderingCreateInfoKHRset(VkPipelineRenderingCreateInfoKHR src)Copies the specified struct data to this struct.VkPipelineRenderingCreateInfoKHRstencilAttachmentFormat(int value)Sets the specified value to thestencilAttachmentFormatfield.VkPipelineRenderingCreateInfoKHRsType(int value)Sets the specified value to thesTypefield.VkPipelineRenderingCreateInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFOvalue to thesTypefield.VkPipelineRenderingCreateInfoKHRviewMask(int value)Sets the specified value to theviewMaskfield.-
Methods inherited from class org.lwjgl.vulkan.VkPipelineRenderingCreateInfo
colorAttachmentCount, depthAttachmentFormat, ncolorAttachmentCount, ncolorAttachmentCount, ndepthAttachmentFormat, ndepthAttachmentFormat, npColorAttachmentFormats, npColorAttachmentFormats, npNext, npNext, nstencilAttachmentFormat, nstencilAttachmentFormat, nsType, nsType, nviewMask, nviewMask, pColorAttachmentFormats, pNext, set, sizeof, stencilAttachmentFormat, sType, validate, viewMask
-
-
-
-
Constructor Detail
-
VkPipelineRenderingCreateInfoKHR
public VkPipelineRenderingCreateInfoKHR(java.nio.ByteBuffer container)
Creates aVkPipelineRenderingCreateInfoKHRinstance 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 VkPipelineRenderingCreateInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPipelineRenderingCreateInfo
-
sType$Default
public VkPipelineRenderingCreateInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPipelineRenderingCreateInfo
-
pNext
public VkPipelineRenderingCreateInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPipelineRenderingCreateInfo
-
viewMask
public VkPipelineRenderingCreateInfoKHR viewMask(int value)
Sets the specified value to theviewMaskfield.- Overrides:
viewMaskin classVkPipelineRenderingCreateInfo
-
pColorAttachmentFormats
public VkPipelineRenderingCreateInfoKHR pColorAttachmentFormats(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepColorAttachmentFormatsfield.- Overrides:
pColorAttachmentFormatsin classVkPipelineRenderingCreateInfo
-
depthAttachmentFormat
public VkPipelineRenderingCreateInfoKHR depthAttachmentFormat(int value)
Sets the specified value to thedepthAttachmentFormatfield.- Overrides:
depthAttachmentFormatin classVkPipelineRenderingCreateInfo
-
stencilAttachmentFormat
public VkPipelineRenderingCreateInfoKHR stencilAttachmentFormat(int value)
Sets the specified value to thestencilAttachmentFormatfield.- Overrides:
stencilAttachmentFormatin classVkPipelineRenderingCreateInfo
-
set
public VkPipelineRenderingCreateInfoKHR set(int sType, long pNext, int viewMask, @Nullable java.nio.IntBuffer pColorAttachmentFormats, int depthAttachmentFormat, int stencilAttachmentFormat)
Initializes this struct with the specified values.- Overrides:
setin classVkPipelineRenderingCreateInfo
-
set
public VkPipelineRenderingCreateInfoKHR set(VkPipelineRenderingCreateInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPipelineRenderingCreateInfoKHR malloc()
Returns a newVkPipelineRenderingCreateInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPipelineRenderingCreateInfoKHR calloc()
Returns a newVkPipelineRenderingCreateInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPipelineRenderingCreateInfoKHR create()
Returns a newVkPipelineRenderingCreateInfoKHRinstance allocated withBufferUtils.
-
create
public static VkPipelineRenderingCreateInfoKHR create(long address)
Returns a newVkPipelineRenderingCreateInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPipelineRenderingCreateInfoKHR createSafe(long address)
-
malloc
public static VkPipelineRenderingCreateInfoKHR.Buffer malloc(int capacity)
Returns a newVkPipelineRenderingCreateInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPipelineRenderingCreateInfoKHR.Buffer calloc(int capacity)
Returns a newVkPipelineRenderingCreateInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineRenderingCreateInfoKHR.Buffer create(int capacity)
Returns a newVkPipelineRenderingCreateInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineRenderingCreateInfoKHR.Buffer create(long address, int capacity)
Create aVkPipelineRenderingCreateInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPipelineRenderingCreateInfoKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPipelineRenderingCreateInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineRenderingCreateInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPipelineRenderingCreateInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineRenderingCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPipelineRenderingCreateInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineRenderingCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPipelineRenderingCreateInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineRenderingCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-