rename RenderQueue to RenderPipe

This commit is contained in:
2025-08-25 22:42:25 +08:00
parent 1f7720d54e
commit 0f9f81d568
17 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ class LightComponent;
typedef std::shared_ptr<LightComponent> LightComponentPtr;
typedef std::shared_ptr<const LightComponent> LightComponentConstPtr;
class RenderQueue;
class RenderPipe;
class Renderable;
typedef std::shared_ptr<Renderable> RenderablePtr;
@@ -6,7 +6,7 @@
DV_CORE_BEGIN_NAMESPACE
class DV_CORE_API RenderQueue
class DV_CORE_API RenderPipe
{
public:
void pushRenderable(RenderableConstPtr renderable);
@@ -25,8 +25,8 @@ protected:
std::vector<RenderableConstPtr> m_queue;
public:
RenderQueue();
~RenderQueue();
RenderPipe();
~RenderPipe();
};
DV_CORE_END_NAMESPACE
@@ -2,7 +2,7 @@
#include "dvc_config.h"
#include "math/dvc_matrix4.h"
#include "dvc_render_queue.h"
#include "dvc_render_pipe.h"
DV_CORE_BEGIN_NAMESPACE
@@ -22,7 +22,7 @@ public:
typedef std::vector<Node> NodeArray;
public:
void process(const RenderQueue& renderQueue);
void process(const RenderPipe& renderQueue);
public:
NodeArray m_nodes;
@@ -18,7 +18,7 @@ public:
};
public:
virtual const std::string& getTypeName() const { return typeName(); }
virtual void render(const fMatrix4& transParent, RenderQueue& queue) const;
virtual void render(const fMatrix4& transParent, RenderPipe& queue) const;
fVector3 getEye(void) const;
fVector3 getLookat(void) const;
@@ -9,7 +9,7 @@ class DV_CORE_API SceneComponent
{
public:
virtual const std::string& getTypeName() const = 0;
virtual void render(const fMatrix4& transParent, RenderQueue& queue) const;
virtual void render(const fMatrix4& transParent, RenderPipe& queue) const;
protected:
SceneNodePtr m_owner;
@@ -27,7 +27,7 @@ public:
};
public:
virtual const std::string& getTypeName() const { return typeName(); }
virtual void render(const fMatrix4& transParent, RenderQueue& queue) const;
virtual void render(const fMatrix4& transParent, RenderPipe& queue) const;
void setLightDefine(const LightDefine& lightDefine);
protected:
@@ -9,7 +9,7 @@ class DV_CORE_API MeshComponent : public SceneComponent
{
public:
virtual const std::string& getTypeName() const { return typeName(); }
virtual void render(const fMatrix4& transParent, RenderQueue& queue) const;
virtual void render(const fMatrix4& transParent, RenderPipe& queue) const;
void setMesh(MeshConstPtr mesh);
+1 -1
View File
@@ -55,7 +55,7 @@ public:
}
public:
void buildRenderQueue(const fMatrix4& transParent, RenderQueue& queue);
void buildRenderQueue(const fMatrix4& transParent, RenderPipe& queue);
protected:
std::string m_name;