|
|
@@ -11,8 +11,6 @@ namespace oxygine
|
|
|
public:
|
|
|
|
|
|
static STDRenderer* instance;
|
|
|
- /**Sets default rendering OpenGL options for 2D*/
|
|
|
- static void setDefaultSettings();
|
|
|
/**Initializes internal classes. Called automatically from oxygine::init();*/
|
|
|
static void initialize();
|
|
|
/**Clears internal data*/
|
|
|
@@ -44,9 +42,9 @@ namespace oxygine
|
|
|
|
|
|
|
|
|
void setDriver(IVideoDriver*);
|
|
|
+ OXYGINE_DEPRECATED
|
|
|
void setViewProjTransform(const Matrix& view, const Matrix& proj);
|
|
|
void setViewProjTransform(const Matrix& viewProj);
|
|
|
- void setVertexDeclaration(const VertexDeclaration* decl);
|
|
|
void setUberShaderProgram(UberShaderProgram* pr);
|
|
|
/**Sets blend mode. Default value is blend_premultiplied_alpha*/
|
|
|
void setBlendMode(blend_mode blend);
|
|
|
@@ -83,6 +81,9 @@ namespace oxygine
|
|
|
#endif
|
|
|
|
|
|
protected:
|
|
|
+
|
|
|
+ void setVertexDeclaration(const VertexDeclaration* decl);
|
|
|
+
|
|
|
Transform _transform;
|
|
|
|
|
|
STDRenderer* _previous;
|