Class VertexBufferInfo
Defined in File vertex-buffer-info.h
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public gpa::playback::ResourceInfo::Ex
(Class ResourceInfo::Ex)
Class Documentation
-
class VertexBufferInfo : public gpa::playback::ResourceInfo::Ex
Graphics API agnostic information for a vertex buffer.
Public Functions
-
virtual TypeId GetTypeId() const final override
Gets this BufferInfo object's TypeId.
- Returns
This BufferInfo object's TypeId
Public Members
-
BufferInfo const *pBufferInfo = {nullptr}
A pointer to this VertexBufferInfo's BufferInfo.
-
ViewInfo const *pViewInfo = {nullptr}
A pointer to the view for the BufferInfo.
-
uint64_t offset = {0}
This VertexBufferInfo's offset in bytes.
-
uint64_t size = {0}
This VertexBufferInfo's size in bytes.
-
uint32_t binding = {0}
This VertexBufferInfo's binding index / input slot.
-
uint32_t stride = {0}
This VertexBufferInfo's stride in bytes from one entry to the next.
-
api_types::VertexInputRate inputRate = {api_types::GPA_VERTEX_INPUT_RATE_UNKNOWN}
This VertexBufferInfo's VertexInputRate.
-
size_t inputElementCount = {0}
This VertexBufferInfo's vertex input element count.
-
api_types::VertexInputElement const *pInputElements = {nullptr}
This VertexBufferInfo's api_types::VertexInputElement objects.
-
api_types::VertexInputBinding inputBinding = {}
-
size_t inputAttributeCount = {0}
-
api_types::VertexInputAttribute const *pInputAttributes = {nullptr}
Protected Functions
-
virtual void OnRegister() final override
This method will be called when this ResourceInfo::Ex is registered for the first time.
Note
If this method is overriden ResourceInfo::Ex::OnRegister() must be called
-
virtual TypeId GetTypeId() const final override