ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::ShadowVolumeOpenGLShader Class Reference

#include <shadow_volume_opengl_shader.h>

Inheritance diagram for Wintermute::ShadowVolumeOpenGLShader:
Collaboration diagram for Wintermute::ShadowVolumeOpenGLShader:

List of all members.

Public Member Functions

 ShadowVolumeOpenGLShader (BaseGame *inGame, OpenGL::Shader *volumeShader, OpenGL::Shader *maskShader)
virtual ~ShadowVolumeOpenGLShader ()
bool renderToStencilBuffer () override
bool renderToScene () override

Private Member Functions

bool render ()
bool initMask () override

Private Attributes

uint32 _color
GLuint _shadowVolumeVertexBuffer
GLuint _shadowMaskVertexBuffer
OpenGL::Shader_volumeShader
OpenGL::Shader_maskShader

Detailed Description

Definition at line 38 of file shadow_volume_opengl_shader.h.


Constructor & Destructor Documentation

Wintermute::ShadowVolumeOpenGLShader::ShadowVolumeOpenGLShader ( BaseGame inGame,
OpenGL::Shader volumeShader,
OpenGL::Shader maskShader 
)

Definition at line 47 of file shadow_volume_opengl_shader.cpp.

Wintermute::ShadowVolumeOpenGLShader::~ShadowVolumeOpenGLShader (  )  [virtual]

Definition at line 70 of file shadow_volume_opengl_shader.cpp.


Member Function Documentation

bool Wintermute::ShadowVolumeOpenGLShader::initMask (  )  [override, private, virtual]

Implements Wintermute::ShadowVolume.

Definition at line 172 of file shadow_volume_opengl_shader.cpp.

bool Wintermute::ShadowVolumeOpenGLShader::render (  )  [private]

Definition at line 74 of file shadow_volume_opengl_shader.cpp.

bool Wintermute::ShadowVolumeOpenGLShader::renderToScene (  )  [override, virtual]

Implements Wintermute::ShadowVolume.

Definition at line 137 of file shadow_volume_opengl_shader.cpp.

bool Wintermute::ShadowVolumeOpenGLShader::renderToStencilBuffer (  )  [override, virtual]

Implements Wintermute::ShadowVolume.

Definition at line 82 of file shadow_volume_opengl_shader.cpp.


Member Data Documentation


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


Generated on Sat Sep 19 2020 05:06:29 for ResidualVM by doxygen 1.7.1
curved edge   curved edge