bgfx/src/vertexdecl.h

22 lines
430 B
C
Raw Normal View History

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