21 #include "hx3d/graphics/base_batch.hpp" 23 #include "hx3d/graphics/cameras/camera.hpp" 25 #include "hx3d/core/core.hpp" 26 #include "hx3d/graphics/shader.hpp" 28 #include "hx3d/utils/assets.hpp" 33 BaseBatch::BaseBatch():
35 _shader(Core::Assets()->get<Shader>(
"base"))
Camera * getCamera()
Get the camera.
void setShader(const Ptr< Shader > &shader)
Set the shader for the next batching.
Ptr< Shader > getShader()
Get the current batching shader.
void setCamera(Camera &camera)
Set the camera for the next batching.
std::shared_ptr< T > Ptr
Quick-typing shared ptr.