engine/include/Render/SalmonRender/SalmonRenderWindows.h

49 lines
905 B
C
Raw Normal View History

2013-01-19 20:02:34 +00:00
#pragma once
/*
This code is the heart of engine. Here is the render and resource manager
*/
#include "include/Utils/Utils.h"
#include "include/SimpleLand/SimpleLand.h"
#include "include/Render/SalmonRender/SalmonRenderInterface.h"
namespace SE
{
class TSalmonRenderer : public TSalmonRendererInterface
{
protected:
bool IsCameraTransparentToLand; //To make it work you must setup LandToCalcCollision
TSimpleLandClass* LandToCalcCollision;
//Other data:
float ShadowClampValue;
virtual void DrawQuad(const T2DQuad& quad);
public:
TSalmonRenderer();
~TSalmonRenderer();
bool BindOpenGLFunctions();
void SetLandToCalcCollision(TSimpleLandClass* landToCalcCollision);
float GetShadowClampValue();
void SetShadowClampValue(float shadowClampValue);
2024-06-08 17:56:35 +00:00
2013-01-19 20:02:34 +00:00
void DrawTriangleList(const TTriangleList& triangleList);
};
} //namespace SE