Berserk
|
Key of vertex array object in the cache. More...
#include <GLVaoCache.hpp>
Public Member Functions | |
void | Setup (const GLVaoDescriptor &descriptor) |
Initialize key from descriptor. More... | |
bool | operator== (const GLVaoKey &other) const |
Fast compare op. More... | |
Public Attributes | |
std::array< Ref< RHIVertexBuffer >, RHILimits::MAX_VERTEX_BUFFERS > | buffers |
Ref< RHIIndexBuffer > | indices |
Ref< RHIVertexDeclaration > | declaration |
Crc32Hash | hash |
Key of vertex array object in the cache.
|
inline |
Fast compare op.
|
inline |
Initialize key from descriptor.
std::array<Ref<RHIVertexBuffer>, RHILimits::MAX_VERTEX_BUFFERS> GLVaoKey::buffers |
Ref<RHIVertexDeclaration> GLVaoKey::declaration |
Crc32Hash GLVaoKey::hash |
Ref<RHIIndexBuffer> GLVaoKey::indices |