Worldstone
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
bgfxUtils.h
1 /*
2  * Copyright 2011-2018 Branimir Karadzic. All rights reserved.
3  * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
4  */
5 #pragma once
6 #include <bgfx/bgfx.h>
7 #include <bx/readerwriter.h>
8 bgfx::ShaderHandle loadShader(const char* _name);
9 bgfx::ProgramHandle loadProgram(bx::FileReaderI* _reader, const char* _vsName, const char* _fsName);
10 bgfx::ProgramHandle loadProgram(const char* _vsName, const char* _fsName);