implement star background
This commit is contained in:
@@ -22,6 +22,8 @@ private:
|
||||
ref_ptr<RenderWindow> _RenderWindow;
|
||||
ref_ptr<Camera> _Camera;
|
||||
|
||||
unsigned int _ActiveTextures;
|
||||
|
||||
public:
|
||||
|
||||
RenderDevice(RenderWindow* renderWindow);
|
||||
@@ -33,15 +35,18 @@ public:
|
||||
void begin2D();
|
||||
void end2D();
|
||||
|
||||
void begin3D(Camera *);
|
||||
void end3D();
|
||||
|
||||
void clear();
|
||||
void swap();
|
||||
|
||||
void setAmbientLight(float r, float g, float b);
|
||||
void setMaterial(Material *);
|
||||
|
||||
void setTexture(unsigned int unit, unsigned int texture);
|
||||
void begin3D(Camera *);
|
||||
void setTransformation (const Vector3&, const Quaternion&);
|
||||
void setTexture(unsigned int unit, Texture* texture, bool last = false);
|
||||
void pushTransformation (const Vector3&, const Quaternion&);
|
||||
void popTransformation ();
|
||||
void setupProjectionMatrix();
|
||||
void setupViewMatrix();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user