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
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde::MP1 {
|
2018-02-01 23:19:34 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
class CNESShader {
|
2018-02-01 23:19:34 +00:00
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
static void Initialize();
|
|
|
|
static void Shutdown();
|
2018-02-01 23:19:34 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
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);
|
2018-02-01 23:19:34 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
static boo::ObjToken<boo::IShaderPipeline> g_Pipeline;
|
2018-02-01 23:19:34 +00:00
|
|
|
};
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde::MP1
|