ScummVM API documentation
OpenGL::LibRetroPipeline Class Reference

#include <libretro.h>

Inheritance diagram for OpenGL::LibRetroPipeline:
OpenGL::Pipeline

Public Member Functions

void setColor (GLfloat r, GLfloat g, GLfloat b, GLfloat a) override
 
void setProjectionMatrix (const Math::Matrix4 &projectionMatrix) override
 
bool open (const Common::Path &shaderPath, Common::SearchSet &archSet)
 
void close ()
 
void enableLinearFiltering (bool enabled)
 
void setDisplaySizes (uint inputWidth, uint inputHeight, const Common::Rect &outputRect)
 
void beginScaling ()
 
void finishScaling ()
 
bool isAnimated () const
 
- Public Member Functions inherited from OpenGL::Pipeline
void activate ()
 
void deactivate ()
 
FramebuffersetFramebuffer (Framebuffer *framebuffer)
 
void drawTexture (const Texture &texture, const GLfloat *coordinates, const GLfloat *texcoords)
 
void drawTexture (const Texture &texture, const GLfloat *coordinates)
 
void drawTexture (const Texture &texture, GLfloat x, GLfloat y, GLfloat w, GLfloat h)
 
void drawTexture (const Texture &texture, GLfloat x, GLfloat y, GLfloat w, GLfloat h, const Common::Rect &clip)
 

Static Public Member Functions

static bool isSupportedByContext ()
 

Additional Inherited Members

- Protected Member Functions inherited from OpenGL::Pipeline
bool isActive () const
 
- Protected Attributes inherited from OpenGL::Pipeline
Framebuffer_activeFramebuffer
 

Detailed Description

Pipeline implementation using Libretro shader presets.

Member Function Documentation

◆ setColor()

void OpenGL::LibRetroPipeline::setColor ( GLfloat  r,
GLfloat  g,
GLfloat  b,
GLfloat  a 
)
overridevirtual

Set modulation color.

Parameters
rRed component in [0,1].
gGreen component in [0,1].
bBlue component in [0,1].
aAlpha component in [0,1].

Implements OpenGL::Pipeline.

◆ setProjectionMatrix()

void OpenGL::LibRetroPipeline::setProjectionMatrix ( const Math::Matrix4 &  projectionMatrix)
overridevirtual

Set the projection matrix.

This is intended to be only ever be used by Framebuffer subclasses.

Implements OpenGL::Pipeline.


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