ae7fcc9011
Want to use seperate textures and samplers for the scene to allow for more modularization. Currently have created a texture class and started creating a scene class.
19 lines
397 B
C++
19 lines
397 B
C++
#pragma once
|
|
|
|
#include "TexturedScene.h"
|
|
#include "BuiltinCamera3D.h"
|
|
|
|
using namespace charcoal;
|
|
using namespace charcoal::builtin;
|
|
|
|
class MyBuiltinTexturedScene : public TexturedScene
|
|
{
|
|
public:
|
|
MyBuiltinTexturedScene(Application& application);
|
|
|
|
void update(float delta_time, clock_t clock) override;
|
|
private:
|
|
TexturedRenderable m_shape;
|
|
builtin::Camera3D m_camera;
|
|
TexturedBatch& m_batch;
|
|
}; |