Package org.lwjgl.vulkan
Class VkFormatProperties3KHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkFormatProperties3
-
- org.lwjgl.vulkan.VkFormatProperties3KHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkFormatProperties3KHR extends VkFormatProperties3
SeeVkFormatProperties3.Layout
struct VkFormatProperties3KHR { VkStructureType sType; void * pNext; VkFormatFeatureFlags2 linearTilingFeatures; VkFormatFeatureFlags2 optimalTilingFeatures; VkFormatFeatureFlags2 bufferFeatures; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkFormatProperties3KHR.BufferAn array ofVkFormatProperties3KHRstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkFormatProperties3
ALIGNOF, BUFFERFEATURES, LINEARTILINGFEATURES, OPTIMALTILINGFEATURES, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkFormatProperties3KHR(java.nio.ByteBuffer container)Creates aVkFormatProperties3KHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkFormatProperties3KHRcalloc()Returns a newVkFormatProperties3KHRinstance allocated withmemCalloc.static VkFormatProperties3KHR.Buffercalloc(int capacity)Returns a newVkFormatProperties3KHR.Bufferinstance allocated withmemCalloc.static VkFormatProperties3KHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkFormatProperties3KHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkFormatProperties3KHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkFormatProperties3KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkFormatProperties3KHRcreate()Returns a newVkFormatProperties3KHRinstance allocated withBufferUtils.static VkFormatProperties3KHR.Buffercreate(int capacity)Returns a newVkFormatProperties3KHR.Bufferinstance allocated withBufferUtils.static VkFormatProperties3KHRcreate(long address)Returns a newVkFormatProperties3KHRinstance for the specified memory address.static VkFormatProperties3KHR.Buffercreate(long address, int capacity)Create aVkFormatProperties3KHR.Bufferinstance at the specified memory.static VkFormatProperties3KHRcreateSafe(long address)static VkFormatProperties3KHR.BuffercreateSafe(long address, int capacity)static VkFormatProperties3KHRmalloc()Returns a newVkFormatProperties3KHRinstance allocated withmemAlloc.static VkFormatProperties3KHR.Buffermalloc(int capacity)Returns a newVkFormatProperties3KHR.Bufferinstance allocated withmemAlloc.static VkFormatProperties3KHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkFormatProperties3KHR.Bufferinstance allocated on the specifiedMemoryStack.static VkFormatProperties3KHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkFormatProperties3KHRinstance allocated on the specifiedMemoryStack.VkFormatProperties3KHRpNext(long value)Sets the specified value to thepNextfield.VkFormatProperties3KHRset(int sType, long pNext)Initializes this struct with the specified values.VkFormatProperties3KHRset(VkFormatProperties3KHR src)Copies the specified struct data to this struct.VkFormatProperties3KHRsType(int value)Sets the specified value to thesTypefield.VkFormatProperties3KHRsType$Default()Sets theSTRUCTURE_TYPE_FORMAT_PROPERTIES_3value to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkFormatProperties3
bufferFeatures, linearTilingFeatures, nbufferFeatures, nlinearTilingFeatures, noptimalTilingFeatures, npNext, npNext, nsType, nsType, optimalTilingFeatures, pNext, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkFormatProperties3KHR
public VkFormatProperties3KHR(java.nio.ByteBuffer container)
Creates aVkFormatProperties3KHRinstance 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
-
sType
public VkFormatProperties3KHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkFormatProperties3
-
sType$Default
public VkFormatProperties3KHR sType$Default()
Sets theSTRUCTURE_TYPE_FORMAT_PROPERTIES_3value to thesTypefield.- Overrides:
sType$Defaultin classVkFormatProperties3
-
pNext
public VkFormatProperties3KHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkFormatProperties3
-
set
public VkFormatProperties3KHR set(int sType, long pNext)
Initializes this struct with the specified values.- Overrides:
setin classVkFormatProperties3
-
set
public VkFormatProperties3KHR set(VkFormatProperties3KHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkFormatProperties3KHR malloc()
Returns a newVkFormatProperties3KHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkFormatProperties3KHR calloc()
Returns a newVkFormatProperties3KHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkFormatProperties3KHR create()
Returns a newVkFormatProperties3KHRinstance allocated withBufferUtils.
-
create
public static VkFormatProperties3KHR create(long address)
Returns a newVkFormatProperties3KHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkFormatProperties3KHR createSafe(long address)
-
malloc
public static VkFormatProperties3KHR.Buffer malloc(int capacity)
Returns a newVkFormatProperties3KHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkFormatProperties3KHR.Buffer calloc(int capacity)
Returns a newVkFormatProperties3KHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkFormatProperties3KHR.Buffer create(int capacity)
Returns a newVkFormatProperties3KHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkFormatProperties3KHR.Buffer create(long address, int capacity)
Create aVkFormatProperties3KHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkFormatProperties3KHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkFormatProperties3KHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkFormatProperties3KHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkFormatProperties3KHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkFormatProperties3KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkFormatProperties3KHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkFormatProperties3KHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkFormatProperties3KHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkFormatProperties3KHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-