Package org.lwjgl.vulkan
Class VkPipelineCreationFeedback
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPipelineCreationFeedback
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkPipelineCreationFeedbackEXT
public class VkPipelineCreationFeedback extends org.lwjgl.system.StructFeedback about the creation of a pipeline or pipeline stage.Description
If the
PIPELINE_CREATION_FEEDBACK_VALID_BITis not set inflags, an implementation must not set any other bits inflags, and the values of all otherVkPipelineCreationFeedbackdata members are undefined.See Also
VkPipelineCreationFeedbackCreateInfoLayout
struct VkPipelineCreationFeedback { VkPipelineCreationFeedbackFlagsflags(); uint64_tduration(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPipelineCreationFeedback.BufferAn array ofVkPipelineCreationFeedbackstructs.
-
Constructor Summary
Constructors Constructor Description VkPipelineCreationFeedback(java.nio.ByteBuffer container)Creates aVkPipelineCreationFeedbackinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPipelineCreationFeedbackcreate(long address)Returns a newVkPipelineCreationFeedbackinstance for the specified memory address.static VkPipelineCreationFeedback.Buffercreate(long address, int capacity)Create aVkPipelineCreationFeedback.Bufferinstance at the specified memory.static VkPipelineCreationFeedbackcreateSafe(long address)static VkPipelineCreationFeedback.BuffercreateSafe(long address, int capacity)longduration()the duration spent creating a pipeline or pipeline stage in nanoseconds.intflags()a bitmask ofVkPipelineCreationFeedbackFlagBitsproviding feedback about the creation of a pipeline or of a pipeline stage.static longnduration(long struct)Unsafe version ofduration().static intnflags(long struct)Unsafe version offlags().intsizeof()
-
-
-
Constructor Detail
-
VkPipelineCreationFeedback
public VkPipelineCreationFeedback(java.nio.ByteBuffer container)
Creates aVkPipelineCreationFeedbackinstance 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()
a bitmask ofVkPipelineCreationFeedbackFlagBitsproviding feedback about the creation of a pipeline or of a pipeline stage.
-
duration
public long duration()
the duration spent creating a pipeline or pipeline stage in nanoseconds.
-
create
public static VkPipelineCreationFeedback create(long address)
Returns a newVkPipelineCreationFeedbackinstance for the specified memory address.
-
createSafe
@Nullable public static VkPipelineCreationFeedback createSafe(long address)
-
create
public static VkPipelineCreationFeedback.Buffer create(long address, int capacity)
Create aVkPipelineCreationFeedback.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPipelineCreationFeedback.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().
-
-