public class VkPipelineCreationFeedbackEXT
extends org.lwjgl.system.Struct
If the PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXT is not set in flags, an implementation must not set any other bits in flags, and all other VkPipelineCreationFeedbackEXT data members are undefined.
VkPipelineCreationFeedbackCreateInfoEXT
flags – a bitmask of VkPipelineCreationFeedbackFlagBitsEXT providing feedback about the creation of a pipeline or of a pipeline stage.duration – the duration spent creating a pipeline or pipeline stage in nanoseconds.
struct VkPipelineCreationFeedbackEXT {
VkPipelineCreationFeedbackFlagsEXT flags;
uint64_t duration;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineCreationFeedbackEXT.Buffer
An array of
VkPipelineCreationFeedbackEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DURATION
The struct member offsets.
|
static int |
FLAGS
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
| Constructor and Description |
|---|
VkPipelineCreationFeedbackEXT(java.nio.ByteBuffer container)
Creates a
VkPipelineCreationFeedbackEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineCreationFeedbackEXT |
create(long address)
Returns a new
VkPipelineCreationFeedbackEXT instance for the specified memory address. |
static VkPipelineCreationFeedbackEXT.Buffer |
create(long address,
int capacity)
Create a
VkPipelineCreationFeedbackEXT.Buffer instance at the specified memory. |
static VkPipelineCreationFeedbackEXT |
createSafe(long address)
|
static VkPipelineCreationFeedbackEXT.Buffer |
createSafe(long address,
int capacity)
|
long |
duration()
Returns the value of the
duration field. |
int |
flags()
Returns the value of the
flags field. |
static long |
nduration(long struct)
Unsafe version of
duration(). |
static int |
nflags(long struct)
Unsafe version of
flags(). |
int |
sizeof() |
public static final int SIZEOF
public static final int ALIGNOF
public static final int FLAGS
public static final int DURATION
public VkPipelineCreationFeedbackEXT(java.nio.ByteBuffer container)
VkPipelineCreationFeedbackEXT instance at the current position of the specified ByteBuffer container. 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int flags()
flags field.public long duration()
duration field.public static VkPipelineCreationFeedbackEXT create(long address)
VkPipelineCreationFeedbackEXT instance for the specified memory address.@Nullable public static VkPipelineCreationFeedbackEXT createSafe(long address)
public static VkPipelineCreationFeedbackEXT.Buffer create(long address, int capacity)
VkPipelineCreationFeedbackEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineCreationFeedbackEXT.Buffer createSafe(long address, int capacity)
public static int nflags(long struct)
flags().public static long nduration(long struct)
duration().Copyright LWJGL. All Rights Reserved. License terms.