2018-02-01 23:19:34 +00:00
|
|
|
#ifndef URDE_CNESSHADER_HPP
|
|
|
|
#define URDE_CNESSHADER_HPP
|
|
|
|
|
2018-10-07 02:59:17 +00:00
|
|
|
#include "boo/graphicsdev/IGraphicsDataFactory.hpp"
|
2018-02-01 23:19:34 +00:00
|
|
|
|
|
|
|
namespace urde::MP1
|
|
|
|
{
|
|
|
|
|
|
|
|
class CNESShader
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static void Initialize();
|
|
|
|
static void Shutdown();
|
|
|
|
|
|
|
|
static boo::ObjToken<boo::IShaderDataBinding> BuildShaderDataBinding(boo::IGraphicsDataFactory::Context& ctx,
|
|
|
|
boo::ObjToken<boo::IGraphicsBufferS> vbo,
|
|
|
|
boo::ObjToken<boo::IGraphicsBufferD> uniBuf,
|
|
|
|
boo::ObjToken<boo::ITextureD> tex);
|
|
|
|
|
|
|
|
static boo::ObjToken<boo::IShaderPipeline> g_Pipeline;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // URDE_CNESSHADER_HPP
|