Package org.lwjgl.vulkan
Class VkTextureLODGatherFormatPropertiesAMD
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkTextureLODGatherFormatPropertiesAMD
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkTextureLODGatherFormatPropertiesAMD extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure informing whether or not texture gather bias/LOD functionality is supported for a given image format and a given physical device.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD
Layout
struct VkTextureLODGatherFormatPropertiesAMD { VkStructureTypesType(); void *pNext(); VkBool32supportsTextureGatherLODBiasAMD(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkTextureLODGatherFormatPropertiesAMD.BufferAn array ofVkTextureLODGatherFormatPropertiesAMDstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPE
SUPPORTSTEXTUREGATHERLODBIASAMDThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkTextureLODGatherFormatPropertiesAMD(java.nio.ByteBuffer container)Creates aVkTextureLODGatherFormatPropertiesAMDinstance 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 VkTextureLODGatherFormatPropertiesAMDcalloc()Returns a newVkTextureLODGatherFormatPropertiesAMDinstance allocated withmemCalloc.static VkTextureLODGatherFormatPropertiesAMD.Buffercalloc(int capacity)Returns a newVkTextureLODGatherFormatPropertiesAMD.Bufferinstance allocated withmemCalloc.static VkTextureLODGatherFormatPropertiesAMD.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkTextureLODGatherFormatPropertiesAMD.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkTextureLODGatherFormatPropertiesAMDcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkTextureLODGatherFormatPropertiesAMDinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkTextureLODGatherFormatPropertiesAMDcallocStack()Deprecated.static VkTextureLODGatherFormatPropertiesAMD.BuffercallocStack(int capacity)Deprecated.static VkTextureLODGatherFormatPropertiesAMD.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkTextureLODGatherFormatPropertiesAMDcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkTextureLODGatherFormatPropertiesAMDcreate()Returns a newVkTextureLODGatherFormatPropertiesAMDinstance allocated withBufferUtils.static VkTextureLODGatherFormatPropertiesAMD.Buffercreate(int capacity)Returns a newVkTextureLODGatherFormatPropertiesAMD.Bufferinstance allocated withBufferUtils.static VkTextureLODGatherFormatPropertiesAMDcreate(long address)Returns a newVkTextureLODGatherFormatPropertiesAMDinstance for the specified memory address.static VkTextureLODGatherFormatPropertiesAMD.Buffercreate(long address, int capacity)Create aVkTextureLODGatherFormatPropertiesAMD.Bufferinstance at the specified memory.static VkTextureLODGatherFormatPropertiesAMDcreateSafe(long address)static VkTextureLODGatherFormatPropertiesAMD.BuffercreateSafe(long address, int capacity)static VkTextureLODGatherFormatPropertiesAMDmalloc()Returns a newVkTextureLODGatherFormatPropertiesAMDinstance allocated withmemAlloc.static VkTextureLODGatherFormatPropertiesAMD.Buffermalloc(int capacity)Returns a newVkTextureLODGatherFormatPropertiesAMD.Bufferinstance allocated withmemAlloc.static VkTextureLODGatherFormatPropertiesAMD.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkTextureLODGatherFormatPropertiesAMD.Bufferinstance allocated on the specifiedMemoryStack.static VkTextureLODGatherFormatPropertiesAMDmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkTextureLODGatherFormatPropertiesAMDinstance allocated on the specifiedMemoryStack.static VkTextureLODGatherFormatPropertiesAMDmallocStack()Deprecated.static VkTextureLODGatherFormatPropertiesAMD.BuffermallocStack(int capacity)Deprecated.static VkTextureLODGatherFormatPropertiesAMD.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkTextureLODGatherFormatPropertiesAMDmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.static intnsupportsTextureGatherLODBiasAMD(long struct)Unsafe version ofsupportsTextureGatherLODBiasAMD().longpNext()NULLor a pointer to a structure extending this structure.VkTextureLODGatherFormatPropertiesAMDpNext(long value)Sets the specified value to thepNext()field.VkTextureLODGatherFormatPropertiesAMDset(int sType, long pNext)Initializes this struct with the specified values.VkTextureLODGatherFormatPropertiesAMDset(VkTextureLODGatherFormatPropertiesAMD src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkTextureLODGatherFormatPropertiesAMDsType(int value)Sets the specified value to thesType()field.VkTextureLODGatherFormatPropertiesAMDsType$Default()Sets theSTRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMDvalue to thesType()field.booleansupportsTextureGatherLODBiasAMD()tells if the image format can be used with texture gather bias/LOD functions, as introduced by theVK_AMD_texture_gather_bias_lodextension.
-
-
-
Constructor Detail
-
VkTextureLODGatherFormatPropertiesAMD
public VkTextureLODGatherFormatPropertiesAMD(java.nio.ByteBuffer container)
Creates aVkTextureLODGatherFormatPropertiesAMDinstance 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
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
supportsTextureGatherLODBiasAMD
public boolean supportsTextureGatherLODBiasAMD()
tells if the image format can be used with texture gather bias/LOD functions, as introduced by theVK_AMD_texture_gather_bias_lodextension. This field is set by the implementation. User-specified value is ignored.
-
sType
public VkTextureLODGatherFormatPropertiesAMD sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkTextureLODGatherFormatPropertiesAMD sType$Default()
Sets theSTRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMDvalue to thesType()field.
-
pNext
public VkTextureLODGatherFormatPropertiesAMD pNext(long value)
Sets the specified value to thepNext()field.
-
set
public VkTextureLODGatherFormatPropertiesAMD set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkTextureLODGatherFormatPropertiesAMD set(VkTextureLODGatherFormatPropertiesAMD src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkTextureLODGatherFormatPropertiesAMD malloc()
Returns a newVkTextureLODGatherFormatPropertiesAMDinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkTextureLODGatherFormatPropertiesAMD calloc()
Returns a newVkTextureLODGatherFormatPropertiesAMDinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkTextureLODGatherFormatPropertiesAMD create()
Returns a newVkTextureLODGatherFormatPropertiesAMDinstance allocated withBufferUtils.
-
create
public static VkTextureLODGatherFormatPropertiesAMD create(long address)
Returns a newVkTextureLODGatherFormatPropertiesAMDinstance for the specified memory address.
-
createSafe
@Nullable public static VkTextureLODGatherFormatPropertiesAMD createSafe(long address)
-
malloc
public static VkTextureLODGatherFormatPropertiesAMD.Buffer malloc(int capacity)
Returns a newVkTextureLODGatherFormatPropertiesAMD.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkTextureLODGatherFormatPropertiesAMD.Buffer calloc(int capacity)
Returns a newVkTextureLODGatherFormatPropertiesAMD.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkTextureLODGatherFormatPropertiesAMD.Buffer create(int capacity)
Returns a newVkTextureLODGatherFormatPropertiesAMD.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkTextureLODGatherFormatPropertiesAMD.Buffer create(long address, int capacity)
Create aVkTextureLODGatherFormatPropertiesAMD.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkTextureLODGatherFormatPropertiesAMD.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkTextureLODGatherFormatPropertiesAMD mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkTextureLODGatherFormatPropertiesAMD callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkTextureLODGatherFormatPropertiesAMD mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkTextureLODGatherFormatPropertiesAMD callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkTextureLODGatherFormatPropertiesAMD.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkTextureLODGatherFormatPropertiesAMD.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkTextureLODGatherFormatPropertiesAMD.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 VkTextureLODGatherFormatPropertiesAMD.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkTextureLODGatherFormatPropertiesAMD malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkTextureLODGatherFormatPropertiesAMDinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkTextureLODGatherFormatPropertiesAMD calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkTextureLODGatherFormatPropertiesAMDinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkTextureLODGatherFormatPropertiesAMD.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkTextureLODGatherFormatPropertiesAMD.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkTextureLODGatherFormatPropertiesAMD.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkTextureLODGatherFormatPropertiesAMD.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nsupportsTextureGatherLODBiasAMD
public static int nsupportsTextureGatherLODBiasAMD(long struct)
Unsafe version ofsupportsTextureGatherLODBiasAMD().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
-