source: GTP/trunk/App/Games/Jungle_Rumble/src/Renderer.cpp @ 1378

Revision 1378, 1.0 KB checked in by giegl, 18 years ago (diff)

GTPD - Jungle Rumble - integrate into GTP SVN structure

Line 
1#include "dxstdafx.h"
2#include ".\renderer.h"
3#include "Scene.h"
4
5Renderer::Renderer(void)
6{
7        //Get the Device
8        this->device = DXUTGetD3DDevice();
9        this->myRenderPriority = 1;
10        this->nodeAdded = false;
11        this->rendererType = 0;
12}
13
14Renderer::~Renderer(void)
15{
16}
17
18void Renderer::setScene(Scene &scene)
19{
20        this->myScene = &scene;
21}
22
23void Renderer::setNode(WPTR<Node> &_myNode)
24{
25        this->nodeAdded = true;
26        this->myNode = _myNode;
27}
28
29void Renderer::setRenderPriority(int _priority)
30{
31        this->myRenderPriority = _priority;
32}
33
34int Renderer::getRenderPriority()
35{
36        return this->myRenderPriority;
37}
38
39bool Renderer::isA(int _rendererType)
40{
41        return (_rendererType == this->rendererType);
42}
43
44bool Renderer::needsExtraPass() {
45        return false;
46}
47
48//Im Normalfall nichts zu tun!
49void Renderer::setCurrentTexture(IDirect3DTexture9* texture) {}
50
51void Renderer::setWorldMatrix(D3DXMATRIX &_worldMat) {}
52void Renderer::setViewMatrix(D3DXMATRIX &_viewMat) {}
53void Renderer::setProjectionMatrix(D3DXMATRIX &_projMat) {}
Note: See TracBrowser for help on using the repository browser.