#pragma once #include "Runtime/GCNTypes.hpp" #include #include #include namespace metaforce { class CMapSurfaceShader { struct Uniform { zeus::CMatrix4f mtx; zeus::CColor color; }; boo::ObjToken m_uniBuf; boo::ObjToken m_vbo; boo::ObjToken m_ibo; boo::ObjToken m_dataBind; public: static void Initialize(); static void Shutdown(); CMapSurfaceShader(boo::IGraphicsDataFactory::Context& ctx, const boo::ObjToken& vbo, const boo::ObjToken& ibo); void draw(const zeus::CColor& color, u32 start, u32 count); }; } // namespace metaforce