Berserk
Public Member Functions | List of all members
MeshFormats Class Referencefinal

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< RHIVertexDeclarationGetDeclaration (MeshFormat target, MeshFormat format)
 
BRK_API Ref< RHIVertexDeclarationGetDeclaration (MeshFormat target)
 
BRK_API uint32 GetAttributeOffset (MeshAttribute attribute, MeshFormat format)
 
BRK_API void GetStride (MeshFormat format, uint32 &vertex, uint32 &attribute, uint32 &skinning)
 

Detailed Description

Manages vertex layouts for default engine mesh formats.

Constructor & Destructor Documentation

◆ MeshFormats()

BRK_API MeshFormats::MeshFormats ( )
default

◆ ~MeshFormats()

BRK_API MeshFormats::~MeshFormats ( )
default

Member Function Documentation

◆ GetAttributeOffset()

uint32 MeshFormats::GetAttributeOffset ( MeshAttribute  attribute,
MeshFormat  format 
)

◆ GetDeclaration() [1/2]

Ref< RHIVertexDeclaration > MeshFormats::GetDeclaration ( MeshFormat  target)

◆ GetDeclaration() [2/2]

Ref< RHIVertexDeclaration > MeshFormats::GetDeclaration ( MeshFormat  target,
MeshFormat  format 
)

◆ GetStride()

void MeshFormats::GetStride ( MeshFormat  format,
uint32 vertex,
uint32 attribute,
uint32 skinning 
)

The documentation for this class was generated from the following files: