dynpip rearrangment
This commit is contained in:
+4
-4
@@ -19,14 +19,14 @@
|
||||
|
||||
namespace Tyra {
|
||||
|
||||
class StaPipelineCore {
|
||||
class StaPipCore {
|
||||
public:
|
||||
StaPipelineCore();
|
||||
~StaPipelineCore();
|
||||
StaPipCore();
|
||||
~StaPipCore();
|
||||
|
||||
void init(RendererCore* t_core);
|
||||
|
||||
/** Render 3D data via "bags" */
|
||||
/** Render 3D via "bags" */
|
||||
void render(StaPipBag* data, StaPipBagPackagesBBox* bbox = nullptr);
|
||||
|
||||
/** Get max vert count of VU1 qbuffer (for optimizations) */
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "./stapip_options.hpp"
|
||||
#include "renderer/core/renderer_core.hpp"
|
||||
#include "renderer/3d/mesh/dynamic/dynamic_mesh.hpp"
|
||||
#include "./core/static_pipeline_core.hpp"
|
||||
#include "./core/stapip_core.hpp"
|
||||
|
||||
namespace Tyra {
|
||||
|
||||
@@ -24,6 +24,8 @@ class StaticPipeline : public Renderer3DPipeline {
|
||||
StaticPipeline();
|
||||
~StaticPipeline();
|
||||
|
||||
StaPipCore core;
|
||||
|
||||
void init(RendererCore* core);
|
||||
|
||||
void onUse();
|
||||
@@ -35,7 +37,6 @@ class StaticPipeline : public Renderer3DPipeline {
|
||||
void render(DynamicMesh* mesh, const StaPipOptions* options = nullptr);
|
||||
|
||||
private:
|
||||
StaPipelineCore core;
|
||||
RendererCore* rendererCore;
|
||||
Vec4* colorsCache;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user