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.StructFeedback about the creation of a pipeline or pipeline stage.Description
If the
PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXTis not set inflags, an implementation must not set any other bits inflags, and all otherVkPipelineCreationFeedbackEXTdata members are undefined.See Also
VkPipelineCreationFeedbackCreateInfoEXTMember documentation
flags– a bitmask ofVkPipelineCreationFeedbackFlagBitsEXTproviding 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 classVkPipelineCreationFeedbackEXT.BufferAn array ofVkPipelineCreationFeedbackEXTstructs.
-
Constructor Summary
Constructors Constructor Description VkPipelineCreationFeedbackEXT(java.nio.ByteBuffer container)Creates aVkPipelineCreationFeedbackEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPipelineCreationFeedbackEXTcreate(long address)Returns a newVkPipelineCreationFeedbackEXTinstance for the specified memory address.static VkPipelineCreationFeedbackEXT.Buffercreate(long address, int capacity)Create aVkPipelineCreationFeedbackEXT.Bufferinstance at the specified memory.static VkPipelineCreationFeedbackEXTcreateSafe(long address)static VkPipelineCreationFeedbackEXT.BuffercreateSafe(long address, int capacity)longduration()Returns the value of thedurationfield.intflags()Returns the value of theflagsfield.static longnduration(long struct)Unsafe version ofduration().static intnflags(long struct)Unsafe version offlags().intsizeof()
-
-
-
Constructor Detail
-
VkPipelineCreationFeedbackEXT
public VkPipelineCreationFeedbackEXT(java.nio.ByteBuffer container)
Creates aVkPipelineCreationFeedbackEXTinstance 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
-
flags
public int flags()
Returns the value of theflagsfield.
-
duration
public long duration()
Returns the value of thedurationfield.
-
create
public static VkPipelineCreationFeedbackEXT create(long address)
Returns a newVkPipelineCreationFeedbackEXTinstance 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.Bufferinstance 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().
-
-