Package org.lwjgl.vulkan
Class VkFramebufferAttachmentImageInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkFramebufferAttachmentImageInfo
-
- org.lwjgl.vulkan.VkFramebufferAttachmentImageInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkFramebufferAttachmentImageInfoKHR extends VkFramebufferAttachmentImageInfo
SeeVkFramebufferAttachmentImageInfo.Layout
struct VkFramebufferAttachmentImageInfoKHR { VkStructureType sType; void const * pNext; VkImageCreateFlags flags; VkImageUsageFlags usage; uint32_t width; uint32_t height; uint32_t layerCount; uint32_t viewFormatCount; VkFormat const * pViewFormats; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkFramebufferAttachmentImageInfoKHR.BufferAn array ofVkFramebufferAttachmentImageInfoKHRstructs.
-
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.VkFramebufferAttachmentImageInfo
ALIGNOF, FLAGS, HEIGHT, LAYERCOUNT, PNEXT, PVIEWFORMATS, SIZEOF, STYPE, USAGE, VIEWFORMATCOUNT, WIDTH
-
-
Constructor Summary
Constructors Constructor Description VkFramebufferAttachmentImageInfoKHR(java.nio.ByteBuffer container)Creates aVkFramebufferAttachmentImageInfoKHRinstance 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 VkFramebufferAttachmentImageInfoKHRcalloc()Returns a newVkFramebufferAttachmentImageInfoKHRinstance allocated withmemCalloc.static VkFramebufferAttachmentImageInfoKHR.Buffercalloc(int capacity)Returns a newVkFramebufferAttachmentImageInfoKHR.Bufferinstance allocated withmemCalloc.static VkFramebufferAttachmentImageInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkFramebufferAttachmentImageInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkFramebufferAttachmentImageInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkFramebufferAttachmentImageInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkFramebufferAttachmentImageInfoKHRcallocStack()Deprecated.static VkFramebufferAttachmentImageInfoKHR.BuffercallocStack(int capacity)Deprecated.static VkFramebufferAttachmentImageInfoKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkFramebufferAttachmentImageInfoKHRcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkFramebufferAttachmentImageInfoKHRcreate()Returns a newVkFramebufferAttachmentImageInfoKHRinstance allocated withBufferUtils.static VkFramebufferAttachmentImageInfoKHR.Buffercreate(int capacity)Returns a newVkFramebufferAttachmentImageInfoKHR.Bufferinstance allocated withBufferUtils.static VkFramebufferAttachmentImageInfoKHRcreate(long address)Returns a newVkFramebufferAttachmentImageInfoKHRinstance for the specified memory address.static VkFramebufferAttachmentImageInfoKHR.Buffercreate(long address, int capacity)Create aVkFramebufferAttachmentImageInfoKHR.Bufferinstance at the specified memory.static VkFramebufferAttachmentImageInfoKHRcreateSafe(long address)static VkFramebufferAttachmentImageInfoKHR.BuffercreateSafe(long address, int capacity)VkFramebufferAttachmentImageInfoKHRflags(int value)Sets the specified value to theflagsfield.VkFramebufferAttachmentImageInfoKHRheight(int value)Sets the specified value to theheightfield.VkFramebufferAttachmentImageInfoKHRlayerCount(int value)Sets the specified value to thelayerCountfield.static VkFramebufferAttachmentImageInfoKHRmalloc()Returns a newVkFramebufferAttachmentImageInfoKHRinstance allocated withmemAlloc.static VkFramebufferAttachmentImageInfoKHR.Buffermalloc(int capacity)Returns a newVkFramebufferAttachmentImageInfoKHR.Bufferinstance allocated withmemAlloc.static VkFramebufferAttachmentImageInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkFramebufferAttachmentImageInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkFramebufferAttachmentImageInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkFramebufferAttachmentImageInfoKHRinstance allocated on the specifiedMemoryStack.static VkFramebufferAttachmentImageInfoKHRmallocStack()Deprecated.static VkFramebufferAttachmentImageInfoKHR.BuffermallocStack(int capacity)Deprecated.static VkFramebufferAttachmentImageInfoKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkFramebufferAttachmentImageInfoKHRmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.VkFramebufferAttachmentImageInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkFramebufferAttachmentImageInfoKHRpViewFormats(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepViewFormatsfield.VkFramebufferAttachmentImageInfoKHRset(int sType, long pNext, int flags, int usage, int width, int height, int layerCount, java.nio.IntBuffer pViewFormats)Initializes this struct with the specified values.VkFramebufferAttachmentImageInfoKHRset(VkFramebufferAttachmentImageInfoKHR src)Copies the specified struct data to this struct.VkFramebufferAttachmentImageInfoKHRsType(int value)Sets the specified value to thesTypefield.VkFramebufferAttachmentImageInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFOvalue to thesTypefield.VkFramebufferAttachmentImageInfoKHRusage(int value)Sets the specified value to theusagefield.VkFramebufferAttachmentImageInfoKHRwidth(int value)Sets the specified value to thewidthfield.-
Methods inherited from class org.lwjgl.vulkan.VkFramebufferAttachmentImageInfo
flags, height, layerCount, nflags, nflags, nheight, nheight, nlayerCount, nlayerCount, npNext, npNext, npViewFormats, npViewFormats, nsType, nsType, nusage, nusage, nviewFormatCount, nviewFormatCount, nwidth, nwidth, pNext, pViewFormats, set, sizeof, sType, usage, validate, viewFormatCount, width
-
-
-
-
Constructor Detail
-
VkFramebufferAttachmentImageInfoKHR
public VkFramebufferAttachmentImageInfoKHR(java.nio.ByteBuffer container)
Creates aVkFramebufferAttachmentImageInfoKHRinstance 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 VkFramebufferAttachmentImageInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkFramebufferAttachmentImageInfo
-
sType$Default
public VkFramebufferAttachmentImageInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkFramebufferAttachmentImageInfo
-
pNext
public VkFramebufferAttachmentImageInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkFramebufferAttachmentImageInfo
-
flags
public VkFramebufferAttachmentImageInfoKHR flags(int value)
Sets the specified value to theflagsfield.- Overrides:
flagsin classVkFramebufferAttachmentImageInfo
-
usage
public VkFramebufferAttachmentImageInfoKHR usage(int value)
Sets the specified value to theusagefield.- Overrides:
usagein classVkFramebufferAttachmentImageInfo
-
width
public VkFramebufferAttachmentImageInfoKHR width(int value)
Sets the specified value to thewidthfield.- Overrides:
widthin classVkFramebufferAttachmentImageInfo
-
height
public VkFramebufferAttachmentImageInfoKHR height(int value)
Sets the specified value to theheightfield.- Overrides:
heightin classVkFramebufferAttachmentImageInfo
-
layerCount
public VkFramebufferAttachmentImageInfoKHR layerCount(int value)
Sets the specified value to thelayerCountfield.- Overrides:
layerCountin classVkFramebufferAttachmentImageInfo
-
pViewFormats
public VkFramebufferAttachmentImageInfoKHR pViewFormats(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepViewFormatsfield.- Overrides:
pViewFormatsin classVkFramebufferAttachmentImageInfo
-
set
public VkFramebufferAttachmentImageInfoKHR set(int sType, long pNext, int flags, int usage, int width, int height, int layerCount, @Nullable java.nio.IntBuffer pViewFormats)
Initializes this struct with the specified values.- Overrides:
setin classVkFramebufferAttachmentImageInfo
-
set
public VkFramebufferAttachmentImageInfoKHR set(VkFramebufferAttachmentImageInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkFramebufferAttachmentImageInfoKHR malloc()
Returns a newVkFramebufferAttachmentImageInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkFramebufferAttachmentImageInfoKHR calloc()
Returns a newVkFramebufferAttachmentImageInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkFramebufferAttachmentImageInfoKHR create()
Returns a newVkFramebufferAttachmentImageInfoKHRinstance allocated withBufferUtils.
-
create
public static VkFramebufferAttachmentImageInfoKHR create(long address)
Returns a newVkFramebufferAttachmentImageInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkFramebufferAttachmentImageInfoKHR createSafe(long address)
-
malloc
public static VkFramebufferAttachmentImageInfoKHR.Buffer malloc(int capacity)
Returns a newVkFramebufferAttachmentImageInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkFramebufferAttachmentImageInfoKHR.Buffer calloc(int capacity)
Returns a newVkFramebufferAttachmentImageInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkFramebufferAttachmentImageInfoKHR.Buffer create(int capacity)
Returns a newVkFramebufferAttachmentImageInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkFramebufferAttachmentImageInfoKHR.Buffer create(long address, int capacity)
Create aVkFramebufferAttachmentImageInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkFramebufferAttachmentImageInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkFramebufferAttachmentImageInfoKHR mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkFramebufferAttachmentImageInfoKHR callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkFramebufferAttachmentImageInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkFramebufferAttachmentImageInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkFramebufferAttachmentImageInfoKHR.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkFramebufferAttachmentImageInfoKHR.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkFramebufferAttachmentImageInfoKHR.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 VkFramebufferAttachmentImageInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkFramebufferAttachmentImageInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferAttachmentImageInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkFramebufferAttachmentImageInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferAttachmentImageInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkFramebufferAttachmentImageInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferAttachmentImageInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkFramebufferAttachmentImageInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferAttachmentImageInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-