public class VkImageViewUsageCreateInfoKHR extends VkImageViewUsageCreateInfo
VkImageViewUsageCreateInfo.
struct VkImageViewUsageCreateInfoKHR {
VkStructureType sType;
void const * pNext;
VkImageUsageFlags usage;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkImageViewUsageCreateInfoKHR.Buffer
An array of
VkImageViewUsageCreateInfoKHR structs. |
| Constructor and Description |
|---|
VkImageViewUsageCreateInfoKHR(java.nio.ByteBuffer container)
Creates a
VkImageViewUsageCreateInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkImageViewUsageCreateInfoKHR |
calloc()
Returns a new
VkImageViewUsageCreateInfoKHR instance allocated with memCalloc. |
static VkImageViewUsageCreateInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkImageViewUsageCreateInfoKHR.Buffer instance allocated with memCalloc. |
static VkImageViewUsageCreateInfoKHR |
callocStack()
Returns a new
VkImageViewUsageCreateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkImageViewUsageCreateInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkImageViewUsageCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkImageViewUsageCreateInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkImageViewUsageCreateInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkImageViewUsageCreateInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkImageViewUsageCreateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkImageViewUsageCreateInfoKHR |
create()
Returns a new
VkImageViewUsageCreateInfoKHR instance allocated with BufferUtils. |
static VkImageViewUsageCreateInfoKHR.Buffer |
create(int capacity)
Returns a new
VkImageViewUsageCreateInfoKHR.Buffer instance allocated with BufferUtils. |
static VkImageViewUsageCreateInfoKHR |
create(long address)
Returns a new
VkImageViewUsageCreateInfoKHR instance for the specified memory address. |
static VkImageViewUsageCreateInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkImageViewUsageCreateInfoKHR.Buffer instance at the specified memory. |
static VkImageViewUsageCreateInfoKHR |
createSafe(long address)
|
static VkImageViewUsageCreateInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkImageViewUsageCreateInfoKHR |
malloc()
Returns a new
VkImageViewUsageCreateInfoKHR instance allocated with memAlloc. |
static VkImageViewUsageCreateInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkImageViewUsageCreateInfoKHR.Buffer instance allocated with memAlloc. |
static VkImageViewUsageCreateInfoKHR |
mallocStack()
Returns a new
VkImageViewUsageCreateInfoKHR instance allocated on the thread-local MemoryStack. |
static VkImageViewUsageCreateInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkImageViewUsageCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkImageViewUsageCreateInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkImageViewUsageCreateInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkImageViewUsageCreateInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkImageViewUsageCreateInfoKHR instance allocated on the specified MemoryStack. |
VkImageViewUsageCreateInfoKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkImageViewUsageCreateInfoKHR |
set(int sType,
long pNext,
int usage)
Initializes this struct with the specified values.
|
VkImageViewUsageCreateInfoKHR |
set(VkImageViewUsageCreateInfoKHR src)
Copies the specified struct data to this struct.
|
VkImageViewUsageCreateInfoKHR |
sType(int value)
Sets the specified value to the
sType field. |
VkImageViewUsageCreateInfoKHR |
usage(int value)
Sets the specified value to the
usage field. |
public VkImageViewUsageCreateInfoKHR(java.nio.ByteBuffer container)
VkImageViewUsageCreateInfoKHR instance at the current position of the specified ByteBuffer 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.
public VkImageViewUsageCreateInfoKHR sType(int value)
sType field.sType in class VkImageViewUsageCreateInfopublic VkImageViewUsageCreateInfoKHR pNext(long value)
pNext field.pNext in class VkImageViewUsageCreateInfopublic VkImageViewUsageCreateInfoKHR usage(int value)
usage field.usage in class VkImageViewUsageCreateInfopublic VkImageViewUsageCreateInfoKHR set(int sType, long pNext, int usage)
set in class VkImageViewUsageCreateInfopublic VkImageViewUsageCreateInfoKHR set(VkImageViewUsageCreateInfoKHR src)
src - the source structpublic static VkImageViewUsageCreateInfoKHR malloc()
VkImageViewUsageCreateInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkImageViewUsageCreateInfoKHR calloc()
VkImageViewUsageCreateInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkImageViewUsageCreateInfoKHR create()
VkImageViewUsageCreateInfoKHR instance allocated with BufferUtils.public static VkImageViewUsageCreateInfoKHR create(long address)
VkImageViewUsageCreateInfoKHR instance for the specified memory address.@Nullable public static VkImageViewUsageCreateInfoKHR createSafe(long address)
public static VkImageViewUsageCreateInfoKHR.Buffer malloc(int capacity)
VkImageViewUsageCreateInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkImageViewUsageCreateInfoKHR.Buffer calloc(int capacity)
VkImageViewUsageCreateInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkImageViewUsageCreateInfoKHR.Buffer create(int capacity)
VkImageViewUsageCreateInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkImageViewUsageCreateInfoKHR.Buffer create(long address, int capacity)
VkImageViewUsageCreateInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkImageViewUsageCreateInfoKHR.Buffer createSafe(long address, int capacity)
public static VkImageViewUsageCreateInfoKHR mallocStack()
VkImageViewUsageCreateInfoKHR instance allocated on the thread-local MemoryStack.public static VkImageViewUsageCreateInfoKHR callocStack()
VkImageViewUsageCreateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkImageViewUsageCreateInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkImageViewUsageCreateInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkImageViewUsageCreateInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkImageViewUsageCreateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkImageViewUsageCreateInfoKHR.Buffer mallocStack(int capacity)
VkImageViewUsageCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkImageViewUsageCreateInfoKHR.Buffer callocStack(int capacity)
VkImageViewUsageCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkImageViewUsageCreateInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkImageViewUsageCreateInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkImageViewUsageCreateInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkImageViewUsageCreateInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacityCopyright LWJGL. All Rights Reserved. License terms.