2012-12-28 20:09:34 -05:00
|
|
|
/*
|
2014-02-11 01:07:04 -05:00
|
|
|
* Copyright 2011-2014 Branimir Karadzic. All rights reserved.
|
2012-12-28 20:09:34 -05:00
|
|
|
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
2013-11-14 00:54:36 -05:00
|
|
|
#ifndef BGFX_VERTEXDECL_H_HEADER_GUARD
|
|
|
|
#define BGFX_VERTEXDECL_H_HEADER_GUARD
|
2013-01-13 13:47:30 -05:00
|
|
|
|
2012-12-28 20:09:34 -05:00
|
|
|
#include <bgfx.h>
|
|
|
|
|
|
|
|
namespace bgfx
|
|
|
|
{
|
2012-12-31 21:48:52 -05:00
|
|
|
/// Returns attribute name.
|
2012-12-28 20:09:34 -05:00
|
|
|
const char* getAttribName(Attrib::Enum _attr);
|
2012-12-31 21:48:52 -05:00
|
|
|
|
|
|
|
/// Dump vertex declaration into debug output.
|
2012-12-28 20:09:34 -05:00
|
|
|
void dump(const VertexDecl& _decl);
|
|
|
|
|
|
|
|
} // namespace bgfx
|
2013-01-13 13:47:30 -05:00
|
|
|
|
2013-11-14 00:54:36 -05:00
|
|
|
#endif // BGFX_VERTEXDECL_H_HEADER_GUARD
|