Package org.lwjgl.vulkan
Class VkPipelineCreationFeedbackEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPipelineCreationFeedbackEXT
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VkPipelineCreationFeedbackEXT extends org.lwjgl.system.Struct
Feedback about the creation of a pipeline or pipeline stage.Description
If the
PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXT
is not set inflags
, an implementation must not set any other bits inflags
, and all otherVkPipelineCreationFeedbackEXT
data members are undefined.See Also
VkPipelineCreationFeedbackCreateInfoEXT
Member documentation
flags
– a bitmask ofVkPipelineCreationFeedbackFlagBitsEXT
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.
Layout
struct VkPipelineCreationFeedbackEXT { VkPipelineCreationFeedbackFlagsEXT flags; uint64_t duration; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkPipelineCreationFeedbackEXT.Buffer
An array ofVkPipelineCreationFeedbackEXT
structs.
-
Constructor Summary
Constructors Constructor Description VkPipelineCreationFeedbackEXT(java.nio.ByteBuffer container)
Creates aVkPipelineCreationFeedbackEXT
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPipelineCreationFeedbackEXT
create(long address)
Returns a newVkPipelineCreationFeedbackEXT
instance for the specified memory address.static VkPipelineCreationFeedbackEXT.Buffer
create(long address, int capacity)
Create aVkPipelineCreationFeedbackEXT.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 theduration
field.int
flags()
Returns the value of theflags
field.static long
nduration(long struct)
Unsafe version ofduration()
.static int
nflags(long struct)
Unsafe version offlags()
.int
sizeof()
-
-
-
Constructor Detail
-
VkPipelineCreationFeedbackEXT
public VkPipelineCreationFeedbackEXT(java.nio.ByteBuffer container)
Creates aVkPipelineCreationFeedbackEXT
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
flags
public int flags()
Returns the value of theflags
field.
-
duration
public long duration()
Returns the value of theduration
field.
-
create
public static VkPipelineCreationFeedbackEXT create(long address)
Returns a newVkPipelineCreationFeedbackEXT
instance for the specified memory address.
-
createSafe
@Nullable public static VkPipelineCreationFeedbackEXT createSafe(long address)
-
create
public static VkPipelineCreationFeedbackEXT.Buffer create(long address, int capacity)
Create aVkPipelineCreationFeedbackEXT.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkPipelineCreationFeedbackEXT.Buffer createSafe(long address, int capacity)
-
nflags
public static int nflags(long struct)
Unsafe version offlags()
.
-
nduration
public static long nduration(long struct)
Unsafe version ofduration()
.
-
-