public class VkTextureLODGatherFormatPropertiesAMD
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMDsType – the type of this structure.pNext – NULL.supportsTextureGatherLODBiasAMD – tells if the image format can be used with texture gather bias/LOD functions, as introduced by the VK_AMD_texture_gather_bias_lod extension. This field is set by the implementation. User-specified value is ignored.
struct VkTextureLODGatherFormatPropertiesAMD {
VkStructureType sType;
void * pNext;
VkBool32 supportsTextureGatherLODBiasAMD;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkTextureLODGatherFormatPropertiesAMD.Buffer
An array of
VkTextureLODGatherFormatPropertiesAMD structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
SUPPORTSTEXTUREGATHERLODBIASAMD
The struct member offsets.
|
| Constructor and Description |
|---|
VkTextureLODGatherFormatPropertiesAMD(java.nio.ByteBuffer container)
Creates a
VkTextureLODGatherFormatPropertiesAMD instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkTextureLODGatherFormatPropertiesAMD |
calloc()
Returns a new
VkTextureLODGatherFormatPropertiesAMD instance allocated with memCalloc. |
static VkTextureLODGatherFormatPropertiesAMD.Buffer |
calloc(int capacity)
Returns a new
VkTextureLODGatherFormatPropertiesAMD.Buffer instance allocated with memCalloc. |
static VkTextureLODGatherFormatPropertiesAMD |
callocStack()
Returns a new
VkTextureLODGatherFormatPropertiesAMD instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkTextureLODGatherFormatPropertiesAMD.Buffer |
callocStack(int capacity)
Returns a new
VkTextureLODGatherFormatPropertiesAMD.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkTextureLODGatherFormatPropertiesAMD.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkTextureLODGatherFormatPropertiesAMD.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkTextureLODGatherFormatPropertiesAMD |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkTextureLODGatherFormatPropertiesAMD instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkTextureLODGatherFormatPropertiesAMD |
create()
Returns a new
VkTextureLODGatherFormatPropertiesAMD instance allocated with BufferUtils. |
static VkTextureLODGatherFormatPropertiesAMD.Buffer |
create(int capacity)
Returns a new
VkTextureLODGatherFormatPropertiesAMD.Buffer instance allocated with BufferUtils. |
static VkTextureLODGatherFormatPropertiesAMD |
create(long address)
Returns a new
VkTextureLODGatherFormatPropertiesAMD instance for the specified memory address. |
static VkTextureLODGatherFormatPropertiesAMD.Buffer |
create(long address,
int capacity)
Create a
VkTextureLODGatherFormatPropertiesAMD.Buffer instance at the specified memory. |
static VkTextureLODGatherFormatPropertiesAMD |
createSafe(long address)
|
static VkTextureLODGatherFormatPropertiesAMD.Buffer |
createSafe(long address,
int capacity)
|
static VkTextureLODGatherFormatPropertiesAMD |
malloc()
Returns a new
VkTextureLODGatherFormatPropertiesAMD instance allocated with memAlloc. |
static VkTextureLODGatherFormatPropertiesAMD.Buffer |
malloc(int capacity)
Returns a new
VkTextureLODGatherFormatPropertiesAMD.Buffer instance allocated with memAlloc. |
static VkTextureLODGatherFormatPropertiesAMD |
mallocStack()
Returns a new
VkTextureLODGatherFormatPropertiesAMD instance allocated on the thread-local MemoryStack. |
static VkTextureLODGatherFormatPropertiesAMD.Buffer |
mallocStack(int capacity)
Returns a new
VkTextureLODGatherFormatPropertiesAMD.Buffer instance allocated on the thread-local MemoryStack. |
static VkTextureLODGatherFormatPropertiesAMD.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkTextureLODGatherFormatPropertiesAMD.Buffer instance allocated on the specified MemoryStack. |
static VkTextureLODGatherFormatPropertiesAMD |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkTextureLODGatherFormatPropertiesAMD instance allocated on the specified MemoryStack. |
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. |
static int |
nsupportsTextureGatherLODBiasAMD(long struct)
Unsafe version of
supportsTextureGatherLODBiasAMD(). |
long |
pNext()
Returns the value of the
pNext field. |
VkTextureLODGatherFormatPropertiesAMD |
pNext(long value)
Sets the specified value to the
pNext field. |
VkTextureLODGatherFormatPropertiesAMD |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkTextureLODGatherFormatPropertiesAMD |
set(VkTextureLODGatherFormatPropertiesAMD src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkTextureLODGatherFormatPropertiesAMD |
sType(int value)
Sets the specified value to the
sType field. |
boolean |
supportsTextureGatherLODBiasAMD()
Returns the value of the
supportsTextureGatherLODBiasAMD 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 SUPPORTSTEXTUREGATHERLODBIASAMD
public VkTextureLODGatherFormatPropertiesAMD(java.nio.ByteBuffer container)
VkTextureLODGatherFormatPropertiesAMD 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 supportsTextureGatherLODBiasAMD()
supportsTextureGatherLODBiasAMD field.public VkTextureLODGatherFormatPropertiesAMD sType(int value)
sType field.public VkTextureLODGatherFormatPropertiesAMD pNext(long value)
pNext field.public VkTextureLODGatherFormatPropertiesAMD set(int sType, long pNext)
public VkTextureLODGatherFormatPropertiesAMD set(VkTextureLODGatherFormatPropertiesAMD src)
src - the source structpublic static VkTextureLODGatherFormatPropertiesAMD malloc()
VkTextureLODGatherFormatPropertiesAMD instance allocated with memAlloc. The instance must be explicitly freed.public static VkTextureLODGatherFormatPropertiesAMD calloc()
VkTextureLODGatherFormatPropertiesAMD instance allocated with memCalloc. The instance must be explicitly freed.public static VkTextureLODGatherFormatPropertiesAMD create()
VkTextureLODGatherFormatPropertiesAMD instance allocated with BufferUtils.public static VkTextureLODGatherFormatPropertiesAMD create(long address)
VkTextureLODGatherFormatPropertiesAMD instance for the specified memory address.@Nullable public static VkTextureLODGatherFormatPropertiesAMD createSafe(long address)
public static VkTextureLODGatherFormatPropertiesAMD.Buffer malloc(int capacity)
VkTextureLODGatherFormatPropertiesAMD.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkTextureLODGatherFormatPropertiesAMD.Buffer calloc(int capacity)
VkTextureLODGatherFormatPropertiesAMD.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkTextureLODGatherFormatPropertiesAMD.Buffer create(int capacity)
VkTextureLODGatherFormatPropertiesAMD.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkTextureLODGatherFormatPropertiesAMD.Buffer create(long address, int capacity)
VkTextureLODGatherFormatPropertiesAMD.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkTextureLODGatherFormatPropertiesAMD.Buffer createSafe(long address, int capacity)
public static VkTextureLODGatherFormatPropertiesAMD mallocStack()
VkTextureLODGatherFormatPropertiesAMD instance allocated on the thread-local MemoryStack.public static VkTextureLODGatherFormatPropertiesAMD callocStack()
VkTextureLODGatherFormatPropertiesAMD instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkTextureLODGatherFormatPropertiesAMD mallocStack(org.lwjgl.system.MemoryStack stack)
VkTextureLODGatherFormatPropertiesAMD instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkTextureLODGatherFormatPropertiesAMD callocStack(org.lwjgl.system.MemoryStack stack)
VkTextureLODGatherFormatPropertiesAMD instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkTextureLODGatherFormatPropertiesAMD.Buffer mallocStack(int capacity)
VkTextureLODGatherFormatPropertiesAMD.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkTextureLODGatherFormatPropertiesAMD.Buffer callocStack(int capacity)
VkTextureLODGatherFormatPropertiesAMD.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkTextureLODGatherFormatPropertiesAMD.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkTextureLODGatherFormatPropertiesAMD.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkTextureLODGatherFormatPropertiesAMD.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkTextureLODGatherFormatPropertiesAMD.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 nsupportsTextureGatherLODBiasAMD(long struct)
supportsTextureGatherLODBiasAMD().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.