ada349c0a2
The builtin namespace is intended to be a slighly higher level interface with OpenGL through the charcoal engine. It is inteneded to allow the developer to create applications without needing to create shader code or worry about rendering techniques. Eventually, applications with lighting, textures, vertex coloring, shadows, and a text-based UI should be available through the builtin namespace
19 lines
377 B
C++
19 lines
377 B
C++
#pragma once
|
|
|
|
#include "BasicScene.h"
|
|
#include "BuiltinCamera3D.h"
|
|
|
|
using namespace charcoal;
|
|
using namespace charcoal::builtin;
|
|
|
|
class MyBuiltinCubeScene : public BasicScene
|
|
{
|
|
public:
|
|
MyBuiltinCubeScene(Application& application);
|
|
|
|
void update(float delta_time, clock_t clock) override;
|
|
private:
|
|
BasicRenderable m_shape;
|
|
builtin::Camera3D m_camera;
|
|
BasicBatch& m_batch;
|
|
}; |