Package org.lwjgl.vulkan
Class VkImageViewMinLodCreateInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkImageViewMinLodCreateInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkImageViewMinLodCreateInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing the minimum lod of an image view.Valid Usage
- If the
minLodfeature is not enabled,minLodmust be0.0. minLodmust be less or equal to the index of the last mipmap level accessible to the view.
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_IMAGE_VIEW_MIN_LOD_CREATE_INFO_EXT
Layout
struct VkImageViewMinLodCreateInfoEXT { VkStructureTypesType(); void const *pNext(); floatminLod(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkImageViewMinLodCreateInfoEXT.BufferAn array ofVkImageViewMinLodCreateInfoEXTstructs.
-
Constructor Summary
Constructors Constructor Description VkImageViewMinLodCreateInfoEXT(java.nio.ByteBuffer container)Creates aVkImageViewMinLodCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkImageViewMinLodCreateInfoEXTcalloc()Returns a newVkImageViewMinLodCreateInfoEXTinstance allocated withmemCalloc.static VkImageViewMinLodCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkImageViewMinLodCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkImageViewMinLodCreateInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkImageViewMinLodCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkImageViewMinLodCreateInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkImageViewMinLodCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkImageViewMinLodCreateInfoEXTcreate()Returns a newVkImageViewMinLodCreateInfoEXTinstance allocated withBufferUtils.static VkImageViewMinLodCreateInfoEXT.Buffercreate(int capacity)Returns a newVkImageViewMinLodCreateInfoEXT.Bufferinstance allocated withBufferUtils.static VkImageViewMinLodCreateInfoEXTcreate(long address)Returns a newVkImageViewMinLodCreateInfoEXTinstance for the specified memory address.static VkImageViewMinLodCreateInfoEXT.Buffercreate(long address, int capacity)Create aVkImageViewMinLodCreateInfoEXT.Bufferinstance at the specified memory.static VkImageViewMinLodCreateInfoEXTcreateSafe(long address)static VkImageViewMinLodCreateInfoEXT.BuffercreateSafe(long address, int capacity)static VkImageViewMinLodCreateInfoEXTmalloc()Returns a newVkImageViewMinLodCreateInfoEXTinstance allocated withmemAlloc.static VkImageViewMinLodCreateInfoEXT.Buffermalloc(int capacity)Returns a newVkImageViewMinLodCreateInfoEXT.Bufferinstance allocated withmemAlloc.static VkImageViewMinLodCreateInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkImageViewMinLodCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkImageViewMinLodCreateInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkImageViewMinLodCreateInfoEXTinstance allocated on the specifiedMemoryStack.floatminLod()the value to clamp the minimum LOD accessible by thisVkImageView.VkImageViewMinLodCreateInfoEXTminLod(float value)Sets the specified value to theminLod()field.static floatnminLod(long struct)Unsafe version ofminLod().static voidnminLod(long struct, float 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()NULLor a pointer to a structure extending this structure.VkImageViewMinLodCreateInfoEXTpNext(long value)Sets the specified value to thepNext()field.VkImageViewMinLodCreateInfoEXTset(int sType, long pNext, float minLod)Initializes this struct with the specified values.VkImageViewMinLodCreateInfoEXTset(VkImageViewMinLodCreateInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkImageViewMinLodCreateInfoEXTsType(int value)Sets the specified value to thesType()field.VkImageViewMinLodCreateInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_IMAGE_VIEW_MIN_LOD_CREATE_INFO_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkImageViewMinLodCreateInfoEXT
public VkImageViewMinLodCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkImageViewMinLodCreateInfoEXTinstance 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.
-
minLod
public float minLod()
the value to clamp the minimum LOD accessible by thisVkImageView.
-
sType
public VkImageViewMinLodCreateInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkImageViewMinLodCreateInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_IMAGE_VIEW_MIN_LOD_CREATE_INFO_EXTvalue to thesType()field.
-
pNext
public VkImageViewMinLodCreateInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
minLod
public VkImageViewMinLodCreateInfoEXT minLod(float value)
Sets the specified value to theminLod()field.
-
set
public VkImageViewMinLodCreateInfoEXT set(int sType, long pNext, float minLod)
Initializes this struct with the specified values.
-
set
public VkImageViewMinLodCreateInfoEXT set(VkImageViewMinLodCreateInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkImageViewMinLodCreateInfoEXT malloc()
Returns a newVkImageViewMinLodCreateInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkImageViewMinLodCreateInfoEXT calloc()
Returns a newVkImageViewMinLodCreateInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkImageViewMinLodCreateInfoEXT create()
Returns a newVkImageViewMinLodCreateInfoEXTinstance allocated withBufferUtils.
-
create
public static VkImageViewMinLodCreateInfoEXT create(long address)
Returns a newVkImageViewMinLodCreateInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkImageViewMinLodCreateInfoEXT createSafe(long address)
-
malloc
public static VkImageViewMinLodCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkImageViewMinLodCreateInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkImageViewMinLodCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkImageViewMinLodCreateInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkImageViewMinLodCreateInfoEXT.Buffer create(int capacity)
Returns a newVkImageViewMinLodCreateInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkImageViewMinLodCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkImageViewMinLodCreateInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkImageViewMinLodCreateInfoEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkImageViewMinLodCreateInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkImageViewMinLodCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkImageViewMinLodCreateInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkImageViewMinLodCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkImageViewMinLodCreateInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkImageViewMinLodCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkImageViewMinLodCreateInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkImageViewMinLodCreateInfoEXT.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 float 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, float value)Unsafe version ofminLod.
-
-