mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-20 05:43:12 +01:00
25 lines
535 B
C++
25 lines
535 B
C++
/*
|
|
* Copyright 2011-2014 Branimir Karadzic. All rights reserved.
|
|
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
|
*/
|
|
|
|
#ifndef BGFX_VERTEXDECL_H_HEADER_GUARD
|
|
#define BGFX_VERTEXDECL_H_HEADER_GUARD
|
|
|
|
#include <bgfx.h>
|
|
|
|
namespace bgfx
|
|
{
|
|
///
|
|
void initAttribTypeSizeTable(RendererType::Enum _type);
|
|
|
|
/// Returns attribute name.
|
|
const char* getAttribName(Attrib::Enum _attr);
|
|
|
|
/// Dump vertex declaration into debug output.
|
|
void dump(const VertexDecl& _decl);
|
|
|
|
} // namespace bgfx
|
|
|
|
#endif // BGFX_VERTEXDECL_H_HEADER_GUARD
|