Berserk
|
Manages vertex layouts for default engine mesh formats. More...
#include <MeshFormats.hpp>
Public Member Functions | |
BRK_API | MeshFormats ()=default |
BRK_API | ~MeshFormats ()=default |
BRK_API Ref< RHIVertexDeclaration > | GetDeclaration (MeshFormat target, MeshFormat format) |
BRK_API Ref< RHIVertexDeclaration > | GetDeclaration (MeshFormat target) |
BRK_API uint32 | GetAttributeOffset (MeshAttribute attribute, MeshFormat format) |
BRK_API void | GetStride (MeshFormat format, uint32 &vertex, uint32 &attribute, uint32 &skinning) |
Manages vertex layouts for default engine mesh formats.
|
default |
|
default |
uint32 MeshFormats::GetAttributeOffset | ( | MeshAttribute | attribute, |
MeshFormat | format | ||
) |
Ref< RHIVertexDeclaration > MeshFormats::GetDeclaration | ( | MeshFormat | target | ) |
Ref< RHIVertexDeclaration > MeshFormats::GetDeclaration | ( | MeshFormat | target, |
MeshFormat | format | ||
) |
void MeshFormats::GetStride | ( | MeshFormat | format, |
uint32 & | vertex, | ||
uint32 & | attribute, | ||
uint32 & | skinning | ||
) |