metaforce/NESEmulator/CNESShader.cpp

29 lines
1.2 KiB
C++
Raw Permalink Normal View History

2018-02-01 23:19:34 +00:00
#include "CNESShader.hpp"
#include "Graphics/CGraphics.hpp"
2022-02-01 00:06:54 +00:00
//#include "hecl/Pipeline.hpp"
2018-02-01 23:19:34 +00:00
2021-04-10 08:42:06 +00:00
namespace metaforce::MP1 {
2018-02-01 23:19:34 +00:00
2022-02-01 00:06:54 +00:00
//boo::ObjToken<boo::IShaderPipeline> CNESShader::g_Pipeline;
2018-02-01 23:19:34 +00:00
2022-02-01 00:06:54 +00:00
void CNESShader::Initialize() {
// g_Pipeline = hecl::conv->convert(Shader_CNESShader{});
2018-02-01 23:19:34 +00:00
}
2022-02-01 00:06:54 +00:00
//boo::ObjToken<boo::IShaderDataBinding> CNESShader::BuildShaderDataBinding(boo::IGraphicsDataFactory::Context& ctx,
// boo::ObjToken<boo::IGraphicsBufferS> vbo,
// boo::ObjToken<boo::IGraphicsBufferD> uniBuf,
// boo::ObjToken<boo::ITextureD> tex) {
// boo::ObjToken<boo::IGraphicsBuffer> bufs[] = {uniBuf.get()};
// boo::PipelineStage stages[] = {boo::PipelineStage::Vertex};
// boo::ObjToken<boo::ITexture> texs[] = {tex.get()};
// return ctx.newShaderDataBinding(g_Pipeline, vbo.get(), nullptr, nullptr, 1, bufs, stages, nullptr, nullptr, 1, texs,
// nullptr, nullptr);
//}
void CNESShader::Shutdown() {
// g_Pipeline.reset();
}
2018-02-01 23:19:34 +00:00
2021-04-10 08:42:06 +00:00
} // namespace metaforce::MP1