Class IndirectBufferInfo

Inheritance Relationships

Base Type

Class Documentation

class IndirectBufferInfo : public gpa::playback::ResourceInfo::Ex

Graphics API agnostic information for indirect and indirect count buffers.

Public Types

enum class Type

Values:

enumerator kUnknown
enumerator kDraw
enumerator kDispatch
enumerator kDispatchRays
enumerator kDispatchMesh

Public Functions

virtual TypeId GetTypeId() const final override

Gets this IndirectBufferInfo object's TypeId.

Returns

This IndirectBufferInfo object's TypeId

Public Members

Type type = {Type::kUnknown}
BufferInfo const *pArgumentBuffer = {nullptr}

A pointer to the BufferInfo containing the arguments for indirect execution.

uint64_t argumentBufferOffset = {0}

The offset in bytes into the argument buffer.

BufferInfo const *pCountBuffer = {nullptr}

The buffer object containing the number of indirect operations to execute.

uint64_t countBufferOffset = {0}

The offset in bytes into the count buffer.

uint32_t count = {0}

The max number of indirect operations to execute.

uint32_t stride = {0}

The stride in bytes between arguments in the argument buffer object.