Package org.lwjgl.vulkan
Class VkPhysicalDeviceDeviceMemoryReportFeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceDeviceMemoryReportFeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceDeviceMemoryReportFeaturesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing whether device memory report callback can be supported by an implementation.Description
If the
VkPhysicalDeviceDeviceMemoryReportFeaturesEXTstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceDeviceMemoryReportFeaturesEXTcan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceDeviceMemoryReportFeaturesEXT { VkStructureTypesType(); void *pNext(); VkBool32deviceMemoryReport(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceDeviceMemoryReportFeaturesEXT.BufferAn array ofVkPhysicalDeviceDeviceMemoryReportFeaturesEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intDEVICEMEMORYREPORT
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceDeviceMemoryReportFeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceDeviceMemoryReportFeaturesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceDeviceMemoryReportFeaturesEXTcalloc()Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceDeviceMemoryReportFeaturesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceDeviceMemoryReportFeaturesEXTcreate()Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceDeviceMemoryReportFeaturesEXTcreate(long address)Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXTinstance for the specified memory address.static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceDeviceMemoryReportFeaturesEXTcreateSafe(long address)static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT.BuffercreateSafe(long address, int capacity)booleandeviceMemoryReport()indicates whether the implementation supports the ability to register device memory report callbacks.VkPhysicalDeviceDeviceMemoryReportFeaturesEXTdeviceMemoryReport(boolean value)Sets the specified value to thedeviceMemoryReport()field.static VkPhysicalDeviceDeviceMemoryReportFeaturesEXTmalloc()Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceDeviceMemoryReportFeaturesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXTinstance allocated on the specifiedMemoryStack.static intndeviceMemoryReport(long struct)Unsafe version ofdeviceMemoryReport().static voidndeviceMemoryReport(long struct, int value)Unsafe version ofdeviceMemoryReport.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.VkPhysicalDeviceDeviceMemoryReportFeaturesEXTpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceDeviceMemoryReportFeaturesEXTset(int sType, long pNext, boolean deviceMemoryReport)Initializes this struct with the specified values.VkPhysicalDeviceDeviceMemoryReportFeaturesEXTset(VkPhysicalDeviceDeviceMemoryReportFeaturesEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceDeviceMemoryReportFeaturesEXTsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceDeviceMemoryReportFeaturesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceDeviceMemoryReportFeaturesEXT
public VkPhysicalDeviceDeviceMemoryReportFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceDeviceMemoryReportFeaturesEXTinstance 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.
-
deviceMemoryReport
public boolean deviceMemoryReport()
indicates whether the implementation supports the ability to register device memory report callbacks.
-
sType
public VkPhysicalDeviceDeviceMemoryReportFeaturesEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceDeviceMemoryReportFeaturesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXTvalue to thesType()field.
-
pNext
public VkPhysicalDeviceDeviceMemoryReportFeaturesEXT pNext(long value)
Sets the specified value to thepNext()field.
-
deviceMemoryReport
public VkPhysicalDeviceDeviceMemoryReportFeaturesEXT deviceMemoryReport(boolean value)
Sets the specified value to thedeviceMemoryReport()field.
-
set
public VkPhysicalDeviceDeviceMemoryReportFeaturesEXT set(int sType, long pNext, boolean deviceMemoryReport)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceDeviceMemoryReportFeaturesEXT set(VkPhysicalDeviceDeviceMemoryReportFeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT malloc()
Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT calloc()
Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT create()
Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT create(long address)
Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceDeviceMemoryReportFeaturesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDeviceMemoryReportFeaturesEXT.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().
-
ndeviceMemoryReport
public static int ndeviceMemoryReport(long struct)
Unsafe version ofdeviceMemoryReport().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
ndeviceMemoryReport
public static void ndeviceMemoryReport(long struct, int value)Unsafe version ofdeviceMemoryReport.
-
-