public class VkFilterCubicImageViewImageFormatPropertiesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
pNext chain of the VkImageFormatProperties2 structure includes a VkFilterCubicImageViewImageFormatPropertiesEXT structure, the pNext chain of the VkPhysicalDeviceImageFormatInfo2 structure must include a VkPhysicalDeviceImageViewImageFormatInfoEXT structure with an imageViewType that is compatible with imageType.sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.filterCubic – tells if image format, image type and image view type can be used with cubic filtering. This field is set by the implementation. User-specified value is ignored.filterCubicMinmax – tells if image format, image type and image view type can be used with cubic filtering and minmax filtering. This field is set by the implementation. User-specified value is ignored.
struct VkFilterCubicImageViewImageFormatPropertiesEXT {
VkStructureType sType;
void * pNext;
VkBool32 filterCubic;
VkBool32 filterCubicMinmax;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer
An array of
VkFilterCubicImageViewImageFormatPropertiesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
FILTERCUBIC
The struct member offsets.
|
static int |
FILTERCUBICMINMAX
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 |
|---|
VkFilterCubicImageViewImageFormatPropertiesEXT(java.nio.ByteBuffer container)
Creates a
VkFilterCubicImageViewImageFormatPropertiesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkFilterCubicImageViewImageFormatPropertiesEXT |
calloc()
Returns a new
VkFilterCubicImageViewImageFormatPropertiesEXT instance allocated with memCalloc. |
static VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer |
calloc(int capacity)
Returns a new
VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer instance allocated with memCalloc. |
static VkFilterCubicImageViewImageFormatPropertiesEXT |
callocStack()
Returns a new
VkFilterCubicImageViewImageFormatPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkFilterCubicImageViewImageFormatPropertiesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkFilterCubicImageViewImageFormatPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkFilterCubicImageViewImageFormatPropertiesEXT |
create()
Returns a new
VkFilterCubicImageViewImageFormatPropertiesEXT instance allocated with BufferUtils. |
static VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer |
create(int capacity)
Returns a new
VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer instance allocated with BufferUtils. |
static VkFilterCubicImageViewImageFormatPropertiesEXT |
create(long address)
Returns a new
VkFilterCubicImageViewImageFormatPropertiesEXT instance for the specified memory address. |
static VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer |
create(long address,
int capacity)
Create a
VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer instance at the specified memory. |
static VkFilterCubicImageViewImageFormatPropertiesEXT |
createSafe(long address)
|
static VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer |
createSafe(long address,
int capacity)
|
boolean |
filterCubic()
Returns the value of the
filterCubic field. |
boolean |
filterCubicMinmax()
Returns the value of the
filterCubicMinmax field. |
static VkFilterCubicImageViewImageFormatPropertiesEXT |
malloc()
Returns a new
VkFilterCubicImageViewImageFormatPropertiesEXT instance allocated with memAlloc. |
static VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer |
malloc(int capacity)
Returns a new
VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer instance allocated with memAlloc. |
static VkFilterCubicImageViewImageFormatPropertiesEXT |
mallocStack()
Returns a new
VkFilterCubicImageViewImageFormatPropertiesEXT instance allocated on the thread-local MemoryStack. |
static VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkFilterCubicImageViewImageFormatPropertiesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkFilterCubicImageViewImageFormatPropertiesEXT instance allocated on the specified MemoryStack. |
static int |
nfilterCubic(long struct)
Unsafe version of
filterCubic(). |
static int |
nfilterCubicMinmax(long struct)
Unsafe version of
filterCubicMinmax(). |
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. |
VkFilterCubicImageViewImageFormatPropertiesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkFilterCubicImageViewImageFormatPropertiesEXT |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkFilterCubicImageViewImageFormatPropertiesEXT |
set(VkFilterCubicImageViewImageFormatPropertiesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkFilterCubicImageViewImageFormatPropertiesEXT |
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 FILTERCUBIC
public static final int FILTERCUBICMINMAX
public VkFilterCubicImageViewImageFormatPropertiesEXT(java.nio.ByteBuffer container)
VkFilterCubicImageViewImageFormatPropertiesEXT 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 boolean filterCubic()
filterCubic field.public boolean filterCubicMinmax()
filterCubicMinmax field.public VkFilterCubicImageViewImageFormatPropertiesEXT sType(int value)
sType field.public VkFilterCubicImageViewImageFormatPropertiesEXT pNext(long value)
pNext field.public VkFilterCubicImageViewImageFormatPropertiesEXT set(int sType, long pNext)
public VkFilterCubicImageViewImageFormatPropertiesEXT set(VkFilterCubicImageViewImageFormatPropertiesEXT src)
src - the source structpublic static VkFilterCubicImageViewImageFormatPropertiesEXT malloc()
VkFilterCubicImageViewImageFormatPropertiesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkFilterCubicImageViewImageFormatPropertiesEXT calloc()
VkFilterCubicImageViewImageFormatPropertiesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkFilterCubicImageViewImageFormatPropertiesEXT create()
VkFilterCubicImageViewImageFormatPropertiesEXT instance allocated with BufferUtils.public static VkFilterCubicImageViewImageFormatPropertiesEXT create(long address)
VkFilterCubicImageViewImageFormatPropertiesEXT instance for the specified memory address.@Nullable public static VkFilterCubicImageViewImageFormatPropertiesEXT createSafe(long address)
public static VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer malloc(int capacity)
VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer calloc(int capacity)
VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer create(int capacity)
VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer create(long address, int capacity)
VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer createSafe(long address, int capacity)
public static VkFilterCubicImageViewImageFormatPropertiesEXT mallocStack()
VkFilterCubicImageViewImageFormatPropertiesEXT instance allocated on the thread-local MemoryStack.public static VkFilterCubicImageViewImageFormatPropertiesEXT callocStack()
VkFilterCubicImageViewImageFormatPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkFilterCubicImageViewImageFormatPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkFilterCubicImageViewImageFormatPropertiesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkFilterCubicImageViewImageFormatPropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkFilterCubicImageViewImageFormatPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer mallocStack(int capacity)
VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer callocStack(int capacity)
VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkFilterCubicImageViewImageFormatPropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkFilterCubicImageViewImageFormatPropertiesEXT.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 nfilterCubic(long struct)
filterCubic().public static int nfilterCubicMinmax(long struct)
filterCubicMinmax().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.