class
#include <OE/Graphics/3D/Renderer3D.hpp>
Renderer3D
Contents
Base classes
- class Renderer
Derived classes
- class DeferredRenderer
- class ForwardRenderer
Public types
- struct Command
Public static functions
- static auto GetVertex3DLayout() -> VertexLayout*
Constructors, destructors, conversion operators
- ~Renderer3D() virtual
- Renderer3D() protected
Public functions
- void begin() override
-
void submitMesh(Mesh* mesh,
unsigned int count,
Material* material = 0,
const Math::
Mat4& transform = Math:: Mat4:: Identity()) - void addLight(Light* light)
- void useSkybox(Skybox* skybox)
-
void setCamera(Math::
Vec3f position, Math:: Mat4 PVMatrix)
Protected functions
- void fillCameraBuffer(Shader* shader)
- void fillObjectBuffer(Shader* shader, const Command& command)