|
Hymn to Beauty
C++ 3D Engine
|
WebGPU implementation of VertexDescription. More...
#include <WebGPUVertexDescription.hpp>
Public Member Functions | |
| WebGPUVertexDescription (unsigned int attributeCount, const VertexDescription::Attribute *attributes) | |
| Create new WebGPU vertex description. More... | |
| ~WebGPUVertexDescription () final | |
| Destructor. More... | |
| WGPUVertexBufferLayout | GetVertexBufferLayout () const |
| Get the vertex buffer layout to use in graphics pipeines. More... | |
Public Member Functions inherited from Video::VertexDescription | |
| VertexDescription () | |
| Create a new vertex description. More... | |
| virtual | ~VertexDescription () |
| Destructor. More... | |
Additional Inherited Members | |
Public Types inherited from Video::VertexDescription | |
| enum class | AttributeType { UNSIGNED_BYTE , INT , FLOAT } |
| The type of a vertex attribute. More... | |
WebGPU implementation of VertexDescription.
| Video::WebGPUVertexDescription::WebGPUVertexDescription | ( | unsigned int | attributeCount, |
| const VertexDescription::Attribute * | attributes | ||
| ) |
Create new WebGPU vertex description.
| attributeCount | The number of vertex attributes. |
| attributes | The array of attributes. |
|
final |
Destructor.
| WGPUVertexBufferLayout Video::WebGPUVertexDescription::GetVertexBufferLayout | ( | ) | const |
Get the vertex buffer layout to use in graphics pipeines.