public class VkPhysicalDeviceImageViewImageFormatInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_IMAGE_FORMAT_INFO_EXTimageViewType must be a valid VkImageViewType valuesType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.imageViewType – a VkImageViewType value specifying the type of the image view.
struct VkPhysicalDeviceImageViewImageFormatInfoEXT {
VkStructureType sType;
void * pNext;
VkImageViewType imageViewType;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer
An array of
VkPhysicalDeviceImageViewImageFormatInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
IMAGEVIEWTYPE
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceImageViewImageFormatInfoEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceImageViewImageFormatInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceImageViewImageFormatInfoEXT |
calloc()
Returns a new
VkPhysicalDeviceImageViewImageFormatInfoEXT instance allocated with memCalloc. |
static VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceImageViewImageFormatInfoEXT |
callocStack()
Returns a new
VkPhysicalDeviceImageViewImageFormatInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceImageViewImageFormatInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceImageViewImageFormatInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceImageViewImageFormatInfoEXT |
create()
Returns a new
VkPhysicalDeviceImageViewImageFormatInfoEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceImageViewImageFormatInfoEXT |
create(long address)
Returns a new
VkPhysicalDeviceImageViewImageFormatInfoEXT instance for the specified memory address. |
static VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceImageViewImageFormatInfoEXT |
createSafe(long address)
|
static VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
int |
imageViewType()
Returns the value of the
imageViewType field. |
VkPhysicalDeviceImageViewImageFormatInfoEXT |
imageViewType(int value)
Sets the specified value to the
imageViewType field. |
static VkPhysicalDeviceImageViewImageFormatInfoEXT |
malloc()
Returns a new
VkPhysicalDeviceImageViewImageFormatInfoEXT instance allocated with memAlloc. |
static VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceImageViewImageFormatInfoEXT |
mallocStack()
Returns a new
VkPhysicalDeviceImageViewImageFormatInfoEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceImageViewImageFormatInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceImageViewImageFormatInfoEXT instance allocated on the specified MemoryStack. |
static int |
nimageViewType(long struct)
Unsafe version of
imageViewType(). |
static void |
nimageViewType(long struct,
int value)
Unsafe version of
imageViewType. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceImageViewImageFormatInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceImageViewImageFormatInfoEXT |
set(int sType,
long pNext,
int imageViewType)
Initializes this struct with the specified values.
|
VkPhysicalDeviceImageViewImageFormatInfoEXT |
set(VkPhysicalDeviceImageViewImageFormatInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceImageViewImageFormatInfoEXT |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int IMAGEVIEWTYPE
public VkPhysicalDeviceImageViewImageFormatInfoEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceImageViewImageFormatInfoEXT 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 int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int imageViewType()
imageViewType field.public VkPhysicalDeviceImageViewImageFormatInfoEXT sType(int value)
sType field.public VkPhysicalDeviceImageViewImageFormatInfoEXT pNext(long value)
pNext field.public VkPhysicalDeviceImageViewImageFormatInfoEXT imageViewType(int value)
imageViewType field.public VkPhysicalDeviceImageViewImageFormatInfoEXT set(int sType, long pNext, int imageViewType)
public VkPhysicalDeviceImageViewImageFormatInfoEXT set(VkPhysicalDeviceImageViewImageFormatInfoEXT src)
src - the source structpublic static VkPhysicalDeviceImageViewImageFormatInfoEXT malloc()
VkPhysicalDeviceImageViewImageFormatInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceImageViewImageFormatInfoEXT calloc()
VkPhysicalDeviceImageViewImageFormatInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceImageViewImageFormatInfoEXT create()
VkPhysicalDeviceImageViewImageFormatInfoEXT instance allocated with BufferUtils.public static VkPhysicalDeviceImageViewImageFormatInfoEXT create(long address)
VkPhysicalDeviceImageViewImageFormatInfoEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceImageViewImageFormatInfoEXT createSafe(long address)
public static VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer malloc(int capacity)
VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer calloc(int capacity)
VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer create(int capacity)
VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceImageViewImageFormatInfoEXT mallocStack()
VkPhysicalDeviceImageViewImageFormatInfoEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceImageViewImageFormatInfoEXT callocStack()
VkPhysicalDeviceImageViewImageFormatInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceImageViewImageFormatInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceImageViewImageFormatInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceImageViewImageFormatInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceImageViewImageFormatInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceImageViewImageFormatInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nimageViewType(long struct)
imageViewType().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nimageViewType(long struct,
int value)
imageViewType.Copyright LWJGL. All Rights Reserved. License terms.