ScummVM API documentation
Stark::Gfx::TinyGLSurfaceRenderer Class Reference

#include <tinyglsurface.h>

Inheritance diagram for Stark::Gfx::TinyGLSurfaceRenderer:
Stark::Gfx::SurfaceRenderer

Public Member Functions

 TinyGLSurfaceRenderer (TinyGLDriver *gfx)
 
void render (const Bitmap *bitmap, const Common::Point &dest) override
 
void render (const Bitmap *bitmap, const Common::Point &dest, uint width, uint height) override
 
void fill (const Color &color, const Common::Point &dest, uint width, uint height) override
 
- Public Member Functions inherited from Stark::Gfx::SurfaceRenderer
void setNoScalingOverride (bool noScalingOverride)
 
void setFadeLevel (float fadeLevel)
 
void setSnapToGrid (bool snapToGrid)
 

Additional Inherited Members

- Protected Attributes inherited from Stark::Gfx::SurfaceRenderer
bool _noScalingOverride
 
float _fadeLevel
 
bool _snapToGrid
 

Detailed Description

A programmable pipeline TinyGL surface renderer

Member Function Documentation

◆ render() [1/2]

void Stark::Gfx::TinyGLSurfaceRenderer::render ( const Bitmap bitmap,
const Common::Point dest 
)
overridevirtual

Draw a 2D surface from the specified bitmap

Implements Stark::Gfx::SurfaceRenderer.

◆ render() [2/2]

void Stark::Gfx::TinyGLSurfaceRenderer::render ( const Bitmap bitmap,
const Common::Point dest,
uint  width,
uint  height 
)
overridevirtual

Draw a 2D surface from the specified bitmap with given width and height

Implements Stark::Gfx::SurfaceRenderer.

◆ fill()

void Stark::Gfx::TinyGLSurfaceRenderer::fill ( const Color color,
const Common::Point dest,
uint  width,
uint  height 
)
overridevirtual

Draw a filled 2D rectangle using the specified color

Implements Stark::Gfx::SurfaceRenderer.


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