/******************************************************************************
*	File		-	simple_render_scene.h
*	Author		-	Joey Pollack
*	Date		-	2021/10/27 (y/m/d)
*	Mod Date	-	2021/10/27 (y/m/d)
*	Description	-	Displays a simple scene that tests basic render features.
******************************************************************************/

#ifndef SIMPLE_RENDER_SCENE_H_
#define SIMPLE_RENDER_SCENE_H_

#include "base_scene.h"
#include <core/types.h>
#include <string>

namespace lunarium
{
    class Image;
    class SimpleRenderScene : public BaseScene
    {
    public:
        SimpleRenderScene(uint32_t logCat);
        ~SimpleRenderScene();
        virtual void OnLoad();
        virtual void OnTick(double delta);
        virtual void OnRender(IGraphics* g);

    private:
        
        int mTextBoxWidth;
        Sizei mImageSize;
        Image* mpRenderedImage;
        Image* mpTestImageLoad;
        int mFrameBufferOne;
        int mFrameBufferTwo;
        float angle;
        float box_angle;

        float mSrcWidth;
        float mSrcHeight;

        struct GridTestObj
        {
            int X;
            std::string msg;
        };
    };
}

#endif  // SIMPLE_RENDER_SCENE_H_