2012-12-28 20:09:34 -05:00
|
|
|
/*
|
|
|
|
* Copyright 2011-2012 Branimir Karadzic. All rights reserved.
|
|
|
|
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
2013-01-13 13:47:30 -05:00
|
|
|
#ifndef __VERTEXDECL_H__
|
|
|
|
#define __VERTEXDECL_H__
|
|
|
|
|
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
|
|
|
|
|
|
|
#endif // __VERTEXDECL_H__
|