Package org.lwjgl.vulkan
Class VkPhysicalDeviceImageViewMinLodFeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceImageViewMinLodFeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceImageViewMinLodFeaturesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing whether clamping the min lod of a image view is supported by the implementation.Description
If the
VkPhysicalDeviceImageViewMinLodFeaturesEXTstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceImageViewMinLodFeaturesEXTcan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceImageViewMinLodFeaturesEXT { VkStructureType sType; void * pNext; VkBool32minLod(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceImageViewMinLodFeaturesEXT.BufferAn array ofVkPhysicalDeviceImageViewMinLodFeaturesEXTstructs.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceImageViewMinLodFeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceImageViewMinLodFeaturesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceImageViewMinLodFeaturesEXTcalloc()Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceImageViewMinLodFeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceImageViewMinLodFeaturesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceImageViewMinLodFeaturesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceImageViewMinLodFeaturesEXTcreate()Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceImageViewMinLodFeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceImageViewMinLodFeaturesEXTcreate(long address)Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXTinstance for the specified memory address.static VkPhysicalDeviceImageViewMinLodFeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceImageViewMinLodFeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceImageViewMinLodFeaturesEXTcreateSafe(long address)static VkPhysicalDeviceImageViewMinLodFeaturesEXT.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceImageViewMinLodFeaturesEXTmalloc()Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceImageViewMinLodFeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceImageViewMinLodFeaturesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceImageViewMinLodFeaturesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXTinstance allocated on the specifiedMemoryStack.booleanminLod()indicates whether the implementation supports clamping the minimum LOD value during Image Level(s) Selection and Integer Texel Coordinate Operations with a givenVkImageViewbyVkImageViewMinLodCreateInfoEXT::minLod.VkPhysicalDeviceImageViewMinLodFeaturesEXTminLod(boolean value)Sets the specified value to theminLod()field.static intnminLod(long struct)Unsafe version ofminLod().static voidnminLod(long struct, int value)Unsafe version ofminLod.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.longpNext()VkPhysicalDeviceImageViewMinLodFeaturesEXTpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceImageViewMinLodFeaturesEXTset(int sType, long pNext, boolean minLod)Initializes this struct with the specified values.VkPhysicalDeviceImageViewMinLodFeaturesEXTset(VkPhysicalDeviceImageViewMinLodFeaturesEXT src)Copies the specified struct data to this struct.intsizeof()intsType()VkPhysicalDeviceImageViewMinLodFeaturesEXTsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceImageViewMinLodFeaturesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_MIN_LOD_FEATURES_EXTvalue to thesTypefield.
-
-
-
Constructor Detail
-
VkPhysicalDeviceImageViewMinLodFeaturesEXT
public VkPhysicalDeviceImageViewMinLodFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceImageViewMinLodFeaturesEXTinstance 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()
- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()
- Returns:
- the value of the
pNextfield.
-
minLod
public boolean minLod()
indicates whether the implementation supports clamping the minimum LOD value during Image Level(s) Selection and Integer Texel Coordinate Operations with a givenVkImageViewbyVkImageViewMinLodCreateInfoEXT::minLod.
-
sType
public VkPhysicalDeviceImageViewMinLodFeaturesEXT sType(int value)
Sets the specified value to thesTypefield.
-
sType$Default
public VkPhysicalDeviceImageViewMinLodFeaturesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_MIN_LOD_FEATURES_EXTvalue to thesTypefield.
-
pNext
public VkPhysicalDeviceImageViewMinLodFeaturesEXT pNext(long value)
Sets the specified value to thepNextfield.
-
minLod
public VkPhysicalDeviceImageViewMinLodFeaturesEXT minLod(boolean value)
Sets the specified value to theminLod()field.
-
set
public VkPhysicalDeviceImageViewMinLodFeaturesEXT set(int sType, long pNext, boolean minLod)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceImageViewMinLodFeaturesEXT set(VkPhysicalDeviceImageViewMinLodFeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceImageViewMinLodFeaturesEXT malloc()
Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceImageViewMinLodFeaturesEXT calloc()
Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceImageViewMinLodFeaturesEXT create()
Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceImageViewMinLodFeaturesEXT create(long address)
Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceImageViewMinLodFeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceImageViewMinLodFeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceImageViewMinLodFeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceImageViewMinLodFeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceImageViewMinLodFeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceImageViewMinLodFeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceImageViewMinLodFeaturesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceImageViewMinLodFeaturesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceImageViewMinLodFeaturesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceImageViewMinLodFeaturesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceImageViewMinLodFeaturesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImageViewMinLodFeaturesEXT.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().
-
nminLod
public static int nminLod(long struct)
Unsafe version ofminLod().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nminLod
public static void nminLod(long struct, int value)Unsafe version ofminLod.
-
-