ScummVM API documentation
Playground3d::ShaderRenderer Class Reference
Inheritance diagram for Playground3d::ShaderRenderer:
Playground3d::Renderer

Public Member Functions

 ShaderRenderer (OSystem *_system)
 
void init () override
 
void deinit () override
 
void clear (const Math::Vector4d &clearColor) override
 
void loadTextureRGBA (Graphics::Surface *texture) override
 
void loadTextureRGB (Graphics::Surface *texture) override
 
void loadTextureRGB565 (Graphics::Surface *texture) override
 
void loadTextureRGBA5551 (Graphics::Surface *texture) override
 
void loadTextureRGBA4444 (Graphics::Surface *texture) override
 
void setupViewport (int x, int y, int width, int height) override
 
void drawCube (const Math::Vector3d &pos, const Math::Vector3d &roll) override
 
void drawPolyOffsetTest (const Math::Vector3d &pos, const Math::Vector3d &roll) override
 
void dimRegionInOut (float fade) override
 
void drawInViewport () override
 
void drawRgbaTexture () override
 
void enableFog (const Math::Vector4d &fogColor) override
 
- Public Member Functions inherited from Playground3d::Renderer
 Renderer (OSystem *system)
 
virtual void flipBuffer ()
 
Common::Rect viewport () const
 
void setupCameraPerspective (float pitch, float heading, float fov)
 
void computeScreenViewport ()
 

Additional Inherited Members

- Static Public Attributes inherited from Playground3d::Renderer
static const int kOriginalWidth = 640
 
static const int kOriginalHeight = 480
 
- Protected Member Functions inherited from Playground3d::Renderer
Math::Matrix4 makeProjectionMatrix (float fov, float nearClip, float farClip) const
 
- Protected Attributes inherited from Playground3d::Renderer
OSystem_system
 
Common::Rect _screenViewport
 
Math::Matrix4 _projectionMatrix
 
Math::Matrix4 _modelViewMatrix
 
Math::Matrix4 _mvpMatrix
 
Graphics::Surface_texture
 
- Static Protected Attributes inherited from Playground3d::Renderer
static const float cubeVertices [11 *6 *4]
 

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