OpenBarnyard
 
Loading...
Searching...
No Matches
TRenderContext_DX8.h
Go to the documentation of this file.
1#pragma once
3
5
7{
8public:
11
12 virtual void Update() override;
13
16
19
20 void EnableFogHAL();
21 void DisableFogHAL();
22
23 const TMatrix44& GetProjectionMatrix() const { return m_Projection; }
24
25 static TRenderContextD3D* Upcast( TRenderContext* a_pRenderContext )
26 {
27 return TSTATICCAST( TRenderContextD3D, a_pRenderContext );
28 }
29
30#ifndef TOSHI_SDK
31private:
32#endif
33
34 TMatrix44 m_Projection;
35};
36
#define TSTATICCAST(POINTERTYPE, VALUE)
Definition Defines.h:69
#define TOSHI_NAMESPACE_START
Definition Defines.h:47
#define TOSHI_NAMESPACE_END
Definition Defines.h:50
TRenderContextD3D(TRenderInterface *a_pRenderer)
virtual void Update() override
static TRenderContextD3D * Upcast(TRenderContext *a_pRenderContext)
const TMatrix44 & GetProjectionMatrix() const
TRenderContext(TRenderInterface *pRender)