2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2018-02-01 23:19:34 +00:00
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|