Package org.lwjgl.vulkan
Class VkImageFormatListCreateInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkImageFormatListCreateInfo
-
- org.lwjgl.vulkan.VkImageFormatListCreateInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkImageFormatListCreateInfoKHR extends VkImageFormatListCreateInfo
SeeVkImageFormatListCreateInfo.Layout
struct VkImageFormatListCreateInfoKHR { VkStructureType sType; void const * pNext; uint32_t viewFormatCount; VkFormat const * pViewFormats; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkImageFormatListCreateInfoKHR.BufferAn array ofVkImageFormatListCreateInfoKHRstructs.
-
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.VkImageFormatListCreateInfo
ALIGNOF, PNEXT, PVIEWFORMATS, SIZEOF, STYPE, VIEWFORMATCOUNT
-
-
Constructor Summary
Constructors Constructor Description VkImageFormatListCreateInfoKHR(java.nio.ByteBuffer container)Creates aVkImageFormatListCreateInfoKHRinstance 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 VkImageFormatListCreateInfoKHRcalloc()Returns a newVkImageFormatListCreateInfoKHRinstance allocated withmemCalloc.static VkImageFormatListCreateInfoKHR.Buffercalloc(int capacity)Returns a newVkImageFormatListCreateInfoKHR.Bufferinstance allocated withmemCalloc.static VkImageFormatListCreateInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkImageFormatListCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkImageFormatListCreateInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkImageFormatListCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkImageFormatListCreateInfoKHRcallocStack()Deprecated.static VkImageFormatListCreateInfoKHR.BuffercallocStack(int capacity)Deprecated.static VkImageFormatListCreateInfoKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkImageFormatListCreateInfoKHRcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkImageFormatListCreateInfoKHRcreate()Returns a newVkImageFormatListCreateInfoKHRinstance allocated withBufferUtils.static VkImageFormatListCreateInfoKHR.Buffercreate(int capacity)Returns a newVkImageFormatListCreateInfoKHR.Bufferinstance allocated withBufferUtils.static VkImageFormatListCreateInfoKHRcreate(long address)Returns a newVkImageFormatListCreateInfoKHRinstance for the specified memory address.static VkImageFormatListCreateInfoKHR.Buffercreate(long address, int capacity)Create aVkImageFormatListCreateInfoKHR.Bufferinstance at the specified memory.static VkImageFormatListCreateInfoKHRcreateSafe(long address)static VkImageFormatListCreateInfoKHR.BuffercreateSafe(long address, int capacity)static VkImageFormatListCreateInfoKHRmalloc()Returns a newVkImageFormatListCreateInfoKHRinstance allocated withmemAlloc.static VkImageFormatListCreateInfoKHR.Buffermalloc(int capacity)Returns a newVkImageFormatListCreateInfoKHR.Bufferinstance allocated withmemAlloc.static VkImageFormatListCreateInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkImageFormatListCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkImageFormatListCreateInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkImageFormatListCreateInfoKHRinstance allocated on the specifiedMemoryStack.static VkImageFormatListCreateInfoKHRmallocStack()Deprecated.static VkImageFormatListCreateInfoKHR.BuffermallocStack(int capacity)Deprecated.static VkImageFormatListCreateInfoKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkImageFormatListCreateInfoKHRmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.VkImageFormatListCreateInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkImageFormatListCreateInfoKHRpViewFormats(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepViewFormatsfield.VkImageFormatListCreateInfoKHRset(int sType, long pNext, java.nio.IntBuffer pViewFormats)Initializes this struct with the specified values.VkImageFormatListCreateInfoKHRset(VkImageFormatListCreateInfoKHR src)Copies the specified struct data to this struct.VkImageFormatListCreateInfoKHRsType(int value)Sets the specified value to thesTypefield.VkImageFormatListCreateInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFOvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkImageFormatListCreateInfo
npNext, npNext, npViewFormats, npViewFormats, nsType, nsType, nviewFormatCount, nviewFormatCount, pNext, pViewFormats, set, sizeof, sType, validate, viewFormatCount
-
-
-
-
Constructor Detail
-
VkImageFormatListCreateInfoKHR
public VkImageFormatListCreateInfoKHR(java.nio.ByteBuffer container)
Creates aVkImageFormatListCreateInfoKHRinstance 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 VkImageFormatListCreateInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkImageFormatListCreateInfo
-
sType$Default
public VkImageFormatListCreateInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkImageFormatListCreateInfo
-
pNext
public VkImageFormatListCreateInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkImageFormatListCreateInfo
-
pViewFormats
public VkImageFormatListCreateInfoKHR pViewFormats(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepViewFormatsfield.- Overrides:
pViewFormatsin classVkImageFormatListCreateInfo
-
set
public VkImageFormatListCreateInfoKHR set(int sType, long pNext, @Nullable java.nio.IntBuffer pViewFormats)
Initializes this struct with the specified values.- Overrides:
setin classVkImageFormatListCreateInfo
-
set
public VkImageFormatListCreateInfoKHR set(VkImageFormatListCreateInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkImageFormatListCreateInfoKHR malloc()
Returns a newVkImageFormatListCreateInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkImageFormatListCreateInfoKHR calloc()
Returns a newVkImageFormatListCreateInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkImageFormatListCreateInfoKHR create()
Returns a newVkImageFormatListCreateInfoKHRinstance allocated withBufferUtils.
-
create
public static VkImageFormatListCreateInfoKHR create(long address)
Returns a newVkImageFormatListCreateInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkImageFormatListCreateInfoKHR createSafe(long address)
-
malloc
public static VkImageFormatListCreateInfoKHR.Buffer malloc(int capacity)
Returns a newVkImageFormatListCreateInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkImageFormatListCreateInfoKHR.Buffer calloc(int capacity)
Returns a newVkImageFormatListCreateInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkImageFormatListCreateInfoKHR.Buffer create(int capacity)
Returns a newVkImageFormatListCreateInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkImageFormatListCreateInfoKHR.Buffer create(long address, int capacity)
Create aVkImageFormatListCreateInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkImageFormatListCreateInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkImageFormatListCreateInfoKHR mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkImageFormatListCreateInfoKHR callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkImageFormatListCreateInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkImageFormatListCreateInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkImageFormatListCreateInfoKHR.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkImageFormatListCreateInfoKHR.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkImageFormatListCreateInfoKHR.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 VkImageFormatListCreateInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkImageFormatListCreateInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkImageFormatListCreateInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkImageFormatListCreateInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkImageFormatListCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkImageFormatListCreateInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkImageFormatListCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkImageFormatListCreateInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkImageFormatListCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-