Package org.lwjgl.vulkan
Class VkDebugReportCallbackCreateInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDebugReportCallbackCreateInfoEXT
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
public class VkDebugReportCallbackCreateInfoEXT extends Struct
Khronos Reference PageDefines the conditions under which a callback will be called.
Valid Usage
sTypemust beSTRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXTpNextmust beNULLflagsmust be a valid combination ofVkDebugReportFlagBitsEXTvaluesflagsmust not be 0
Member documentation
sType– the type of this structure. Must be:STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXTpNext– reserved for use by extensionsflags– indicate which event(s) will cause this callback to be called. One or more of:pfnCallback– the application callback function to callpUserData– user data to be passed to the callback
Layout
struct VkDebugReportCallbackCreateInfoEXT { VkStructureType sType; const void * pNext; VkDebugReportFlagsEXT flags; PFN_vkDebugReportCallbackEXT pfnCallback; void * pUserData; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classVkDebugReportCallbackCreateInfoEXT.BufferAn array ofVkDebugReportCallbackCreateInfoEXTstructs.-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
Fields Modifier and Type Field and Description static intSIZEOFThe struct size in bytes.-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description VkDebugReportCallbackCreateInfoEXT(java.nio.ByteBuffer container)Creates aVkDebugReportCallbackCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static VkDebugReportCallbackCreateInfoEXTcalloc()Returns a newVkDebugReportCallbackCreateInfoEXTinstance allocated withmemCalloc.static VkDebugReportCallbackCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkDebugReportCallbackCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkDebugReportCallbackCreateInfoEXTcallocStack()Returns a newVkDebugReportCallbackCreateInfoEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDebugReportCallbackCreateInfoEXT.BuffercallocStack(int capacity)Returns a newVkDebugReportCallbackCreateInfoEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDebugReportCallbackCreateInfoEXT.BuffercallocStack(int capacity, MemoryStack stack)Returns a newVkDebugReportCallbackCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDebugReportCallbackCreateInfoEXTcallocStack(MemoryStack stack)Returns a newVkDebugReportCallbackCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDebugReportCallbackCreateInfoEXTcreate()Returns a newVkDebugReportCallbackCreateInfoEXTinstance allocated withBufferUtils.static VkDebugReportCallbackCreateInfoEXT.Buffercreate(int capacity)Returns a newVkDebugReportCallbackCreateInfoEXT.Bufferinstance allocated withBufferUtils.static VkDebugReportCallbackCreateInfoEXTcreate(long address)Returns a newVkDebugReportCallbackCreateInfoEXTinstance for the specified memory address ornullif the address isNULL.static VkDebugReportCallbackCreateInfoEXT.Buffercreate(long address, int capacity)Create aVkDebugReportCallbackCreateInfoEXT.Bufferinstance at the specified memory.intflags()Returns the value of theflagsfield.VkDebugReportCallbackCreateInfoEXTflags(int value)Sets the specified value to theflagsfield.static VkDebugReportCallbackCreateInfoEXTmalloc()Returns a newVkDebugReportCallbackCreateInfoEXTinstance allocated withmemAlloc.static VkDebugReportCallbackCreateInfoEXT.Buffermalloc(int capacity)Returns a newVkDebugReportCallbackCreateInfoEXT.Bufferinstance allocated withmemAlloc.static VkDebugReportCallbackCreateInfoEXTmallocStack()Returns a newVkDebugReportCallbackCreateInfoEXTinstance allocated on the thread-localMemoryStack.static VkDebugReportCallbackCreateInfoEXT.BuffermallocStack(int capacity)Returns a newVkDebugReportCallbackCreateInfoEXT.Bufferinstance allocated on the thread-localMemoryStack.static VkDebugReportCallbackCreateInfoEXT.BuffermallocStack(int capacity, MemoryStack stack)Returns a newVkDebugReportCallbackCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkDebugReportCallbackCreateInfoEXTmallocStack(MemoryStack stack)Returns a newVkDebugReportCallbackCreateInfoEXTinstance allocated on the specifiedMemoryStack.VkDebugReportCallbackCreateInfoEXTnset(long struct)Unsafe version ofset.VkDebugReportCallbackEXTpfnCallback()Returns theVkDebugReportCallbackEXTinstance at thepfnCallbackfield.VkDebugReportCallbackCreateInfoEXTpfnCallback(VkDebugReportCallbackEXTI value)Sets the address of the specifiedVkDebugReportCallbackEXTIto thepfnCallbackfield.longpNext()Returns the value of thepNextfield.VkDebugReportCallbackCreateInfoEXTpNext(long value)Sets the specified value to thepNextfield.longpUserData()Returns the value of thepUserDatafield.VkDebugReportCallbackCreateInfoEXTpUserData(long value)Sets the specified value to thepUserDatafield.VkDebugReportCallbackCreateInfoEXTset(int sType, long pNext, int flags, VkDebugReportCallbackEXTI pfnCallback, long pUserData)Initializes this struct with the specified values.VkDebugReportCallbackCreateInfoEXTset(VkDebugReportCallbackCreateInfoEXT src)Copies the specified struct data to this struct.intsizeof()Returns thesizeof(struct).intsType()Returns the value of thesTypefield.VkDebugReportCallbackCreateInfoEXTsType(int value)Sets the specified value to thesTypefield.static voidvalidate(long struct)Validates pointer members that should not beNULL.static voidvalidate(long array, int count)CallsVkDebugReportCallbackCreateInfoEXT.validate(long)for each struct contained in the specified struct array.-
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
Constructor Detail
-
VkDebugReportCallbackCreateInfoEXT
public VkDebugReportCallbackCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkDebugReportCallbackCreateInfoEXTinstance 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()
Description copied from class:StructReturns thesizeof(struct).
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
flags
public int flags()
Returns the value of theflagsfield.
-
pfnCallback
public VkDebugReportCallbackEXT pfnCallback()
Returns theVkDebugReportCallbackEXTinstance at thepfnCallbackfield.
-
pUserData
public long pUserData()
Returns the value of thepUserDatafield.
-
sType
public VkDebugReportCallbackCreateInfoEXT sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkDebugReportCallbackCreateInfoEXT pNext(long value)
Sets the specified value to thepNextfield.
-
flags
public VkDebugReportCallbackCreateInfoEXT flags(int value)
Sets the specified value to theflagsfield.
-
pfnCallback
public VkDebugReportCallbackCreateInfoEXT pfnCallback(VkDebugReportCallbackEXTI value)
Sets the address of the specifiedVkDebugReportCallbackEXTIto thepfnCallbackfield.
-
pUserData
public VkDebugReportCallbackCreateInfoEXT pUserData(long value)
Sets the specified value to thepUserDatafield.
-
set
public VkDebugReportCallbackCreateInfoEXT set(int sType, long pNext, int flags, VkDebugReportCallbackEXTI pfnCallback, long pUserData)
Initializes this struct with the specified values.
-
nset
public VkDebugReportCallbackCreateInfoEXT nset(long struct)
Unsafe version ofset.
-
set
public VkDebugReportCallbackCreateInfoEXT set(VkDebugReportCallbackCreateInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkDebugReportCallbackCreateInfoEXT malloc()
Returns a newVkDebugReportCallbackCreateInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDebugReportCallbackCreateInfoEXT calloc()
Returns a newVkDebugReportCallbackCreateInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDebugReportCallbackCreateInfoEXT create()
Returns a newVkDebugReportCallbackCreateInfoEXTinstance allocated withBufferUtils.
-
create
public static VkDebugReportCallbackCreateInfoEXT create(long address)
Returns a newVkDebugReportCallbackCreateInfoEXTinstance for the specified memory address ornullif the address isNULL.
-
malloc
public static VkDebugReportCallbackCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkDebugReportCallbackCreateInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDebugReportCallbackCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkDebugReportCallbackCreateInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDebugReportCallbackCreateInfoEXT.Buffer create(int capacity)
Returns a newVkDebugReportCallbackCreateInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDebugReportCallbackCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkDebugReportCallbackCreateInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
mallocStack
public static VkDebugReportCallbackCreateInfoEXT mallocStack()
Returns a newVkDebugReportCallbackCreateInfoEXTinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkDebugReportCallbackCreateInfoEXT callocStack()
Returns a newVkDebugReportCallbackCreateInfoEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkDebugReportCallbackCreateInfoEXT mallocStack(MemoryStack stack)
Returns a newVkDebugReportCallbackCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkDebugReportCallbackCreateInfoEXT callocStack(MemoryStack stack)
Returns a newVkDebugReportCallbackCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkDebugReportCallbackCreateInfoEXT.Buffer mallocStack(int capacity)
Returns a newVkDebugReportCallbackCreateInfoEXT.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkDebugReportCallbackCreateInfoEXT.Buffer callocStack(int capacity)
Returns a newVkDebugReportCallbackCreateInfoEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkDebugReportCallbackCreateInfoEXT.Buffer mallocStack(int capacity, MemoryStack stack)
Returns a newVkDebugReportCallbackCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkDebugReportCallbackCreateInfoEXT.Buffer callocStack(int capacity, MemoryStack stack)
Returns a newVkDebugReportCallbackCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
validate
public static void validate(long array, int count)CallsVkDebugReportCallbackCreateInfoEXT.validate(long)for each struct contained in the specified struct array.- Parameters:
array- the struct array to validatecount- the number of structs inarray
-
-