doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
idRenderSystem Class Referenceabstract

#include <RenderSystem.h>

Inheritance diagram for idRenderSystem:
idRenderSystemLocal

Public Member Functions

virtual ~idRenderSystem ()
 
virtual void Init (void)=0
 
virtual void Shutdown (void)=0
 
virtual void InitOpenGL (void)=0
 
virtual void ShutdownOpenGL (void)=0
 
virtual bool IsOpenGLRunning (void) const =0
 
virtual bool IsFullScreen (void) const =0
 
virtual int GetScreenWidth (void) const =0
 
virtual int GetScreenHeight (void) const =0
 
virtual idRenderWorldAllocRenderWorld (void)=0
 
virtual void FreeRenderWorld (idRenderWorld *rw)=0
 
virtual void BeginLevelLoad (void)=0
 
virtual void EndLevelLoad (void)=0
 
virtual bool RegisterFont (const char *fontName, fontInfoEx_t &font)=0
 
virtual void SetColor (const idVec4 &rgba)=0
 
virtual void SetColor4 (float r, float g, float b, float a)=0
 
virtual void DrawStretchPic (const idDrawVert *verts, const glIndex_t *indexes, int vertCount, int indexCount, const idMaterial *material, bool clip=true, float min_x=0.0f, float min_y=0.0f, float max_x=640.0f, float max_y=480.0f)=0
 
virtual void DrawStretchPic (float x, float y, float w, float h, float s1, float t1, float s2, float t2, const idMaterial *material)=0
 
virtual void DrawStretchTri (idVec2 p1, idVec2 p2, idVec2 p3, idVec2 t1, idVec2 t2, idVec2 t3, const idMaterial *material)=0
 
virtual void GlobalToNormalizedDeviceCoordinates (const idVec3 &global, idVec3 &ndc)=0
 
virtual void GetGLSettings (int &width, int &height)=0
 
virtual void PrintMemInfo (MemInfo_t *mi)=0
 
virtual void DrawSmallChar (int x, int y, int ch, const idMaterial *material)=0
 
virtual void DrawSmallStringExt (int x, int y, const char *string, const idVec4 &setColor, bool forceColor, const idMaterial *material)=0
 
virtual void DrawBigChar (int x, int y, int ch, const idMaterial *material)=0
 
virtual void DrawBigStringExt (int x, int y, const char *string, const idVec4 &setColor, bool forceColor, const idMaterial *material)=0
 
virtual void WriteDemoPics ()=0
 
virtual void DrawDemoPics ()=0
 
virtual void BeginFrame (int windowWidth, int windowHeight)=0
 
virtual void EndFrame (int *frontEndMsec, int *backEndMsec)=0
 
virtual void TakeScreenshot (int width, int height, const char *fileName, int samples, struct renderView_s *ref)=0
 
virtual void CropRenderSize (int width, int height, bool makePowerOfTwo=false, bool forceDimensions=false)=0
 
virtual void CaptureRenderToImage (const char *imageName)=0
 
virtual void CaptureRenderToFile (const char *fileName, bool fixAlpha=false)=0
 
virtual void UnCrop ()=0
 
virtual void GetCardCaps (bool &oldCard, bool &nv10or20)=0
 
virtual bool UploadImage (const char *imageName, const byte *data, int width, int height)=0
 

Detailed Description

Definition at line 159 of file RenderSystem.h.

Constructor & Destructor Documentation

virtual idRenderSystem::~idRenderSystem ( )
inlinevirtual

Definition at line 162 of file RenderSystem.h.

Member Function Documentation

virtual idRenderWorld* idRenderSystem::AllocRenderWorld ( void  )
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::BeginFrame ( int  windowWidth,
int  windowHeight 
)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::BeginLevelLoad ( void  )
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::CaptureRenderToFile ( const char *  fileName,
bool  fixAlpha = false 
)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::CaptureRenderToImage ( const char *  imageName)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::CropRenderSize ( int  width,
int  height,
bool  makePowerOfTwo = false,
bool  forceDimensions = false 
)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::DrawBigChar ( int  x,
int  y,
int  ch,
const idMaterial material 
)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::DrawBigStringExt ( int  x,
int  y,
const char *  string,
const idVec4 setColor,
bool  forceColor,
const idMaterial material 
)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::DrawDemoPics ( )
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::DrawSmallChar ( int  x,
int  y,
int  ch,
const idMaterial material 
)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::DrawSmallStringExt ( int  x,
int  y,
const char *  string,
const idVec4 setColor,
bool  forceColor,
const idMaterial material 
)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::DrawStretchPic ( const idDrawVert verts,
const glIndex_t indexes,
int  vertCount,
int  indexCount,
const idMaterial material,
bool  clip = true,
float  min_x = 0.0f,
float  min_y = 0.0f,
float  max_x = 640.0f,
float  max_y = 480.0f 
)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::DrawStretchPic ( float  x,
float  y,
float  w,
float  h,
float  s1,
float  t1,
float  s2,
float  t2,
const idMaterial material 
)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::DrawStretchTri ( idVec2  p1,
idVec2  p2,
idVec2  p3,
idVec2  t1,
idVec2  t2,
idVec2  t3,
const idMaterial material 
)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::EndFrame ( int frontEndMsec,
int backEndMsec 
)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::EndLevelLoad ( void  )
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::FreeRenderWorld ( idRenderWorld rw)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::GetCardCaps ( bool oldCard,
bool nv10or20 
)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::GetGLSettings ( int width,
int height 
)
pure virtual

Implemented in idRenderSystemLocal.

virtual int idRenderSystem::GetScreenHeight ( void  ) const
pure virtual

Implemented in idRenderSystemLocal.

virtual int idRenderSystem::GetScreenWidth ( void  ) const
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::GlobalToNormalizedDeviceCoordinates ( const idVec3 global,
idVec3 ndc 
)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::Init ( void  )
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::InitOpenGL ( void  )
pure virtual

Implemented in idRenderSystemLocal.

virtual bool idRenderSystem::IsFullScreen ( void  ) const
pure virtual

Implemented in idRenderSystemLocal.

virtual bool idRenderSystem::IsOpenGLRunning ( void  ) const
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::PrintMemInfo ( MemInfo_t mi)
pure virtual

Implemented in idRenderSystemLocal.

virtual bool idRenderSystem::RegisterFont ( const char *  fontName,
fontInfoEx_t font 
)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::SetColor ( const idVec4 rgba)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::SetColor4 ( float  r,
float  g,
float  b,
float  a 
)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::Shutdown ( void  )
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::ShutdownOpenGL ( void  )
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::TakeScreenshot ( int  width,
int  height,
const char *  fileName,
int  samples,
struct renderView_s ref 
)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::UnCrop ( )
pure virtual

Implemented in idRenderSystemLocal.

virtual bool idRenderSystem::UploadImage ( const char *  imageName,
const byte data,
int  width,
int  height 
)
pure virtual

Implemented in idRenderSystemLocal.

virtual void idRenderSystem::WriteDemoPics ( )
pure virtual

Implemented in idRenderSystemLocal.


The documentation for this class was generated from the following file: