#include <renderer.hpp>
|
virtual | ~GLDevice ()=default |
|
void | detachTexture (int tex_unit) |
|
void | attachTexture (int tex_unit, int tex_id) |
|
void | enableBlend () |
|
void | disableBlend () |
|
void | enableDepthWrite () |
|
void | disableDepthWrite () |
|
void | setLineWidth (float w) |
|
virtual void | init () |
|
virtual DeviceType | getType ()=0 |
|
void | setViewport (GLsizei w, GLsizei h) |
|
void | getViewport (GLint(&vp)[4]) |
|
void | setStaticColor (const std::array< float, 4 > &rgba) |
|
virtual void | setTransformMatrices (glm::mat4 model_view, glm::mat4 projection) |
|
virtual void | setNumLights (int i)=0 |
|
virtual void | setMaterial (Material mat)=0 |
|
virtual void | setPointLight (int i, Light lt)=0 |
|
virtual void | setAmbientLight (const std::array< float, 4 > &amb)=0 |
|
virtual void | setClipPlaneUse (bool enable)=0 |
|
virtual void | setClipPlaneEqn (const std::array< double, 4 > &eqn)=0 |
|
virtual void | bufferToDevice (array_layout layout, IVertexBuffer &buf)=0 |
|
virtual void | bufferToDevice (array_layout layout, IIndexedBuffer &buf)=0 |
|
virtual void | bufferToDevice (TextBuffer &t_buf)=0 |
|
virtual void | drawDeviceBuffer (int hnd)=0 |
|
virtual void | drawDeviceBuffer (const TextBuffer &t_buf)=0 |
|
virtual void | initXfbMode () |
|
virtual void | exitXfbMode () |
|
virtual void | captureXfbBuffer (PaletteState &pal, CaptureBuffer &capture, int hnd)=0 |
|
void | captureXfbBuffer (CaptureBuffer &capture, const TextBuffer &t_buf) |
|
Definition at line 97 of file renderer.hpp.
Enumerator |
---|
NO_DEVICE |
|
FF_DEVICE |
|
CORE_DEVICE |
|
Definition at line 112 of file renderer.hpp.
virtual gl3::GLDevice::~GLDevice |
( |
| ) |
|
|
virtualdefault |
void gl3::GLDevice::attachTexture |
( |
int |
tex_unit, |
|
|
int |
tex_id |
|
) |
| |
|
inline |
virtual void gl3::GLDevice::bufferToDevice |
( |
TextBuffer & |
t_buf | ) |
|
|
pure virtual |
void gl3::GLDevice::detachTexture |
( |
int |
tex_unit | ) |
|
|
inline |
void gl3::GLDevice::disableBlend |
( |
| ) |
|
|
inline |
void gl3::GLDevice::disableDepthWrite |
( |
| ) |
|
|
inline |
virtual void gl3::GLDevice::drawDeviceBuffer |
( |
int |
hnd | ) |
|
|
pure virtual |
virtual void gl3::GLDevice::drawDeviceBuffer |
( |
const TextBuffer & |
t_buf | ) |
|
|
pure virtual |
void gl3::GLDevice::enableBlend |
( |
| ) |
|
|
inline |
void gl3::GLDevice::enableDepthWrite |
( |
| ) |
|
|
inline |
virtual void gl3::GLDevice::exitXfbMode |
( |
| ) |
|
|
inlinevirtual |
void gl3::GLDevice::getViewport |
( |
GLint(&) |
vp[4] | ) |
|
void gl3::GLDevice::init |
( |
| ) |
|
|
virtual |
virtual void gl3::GLDevice::initXfbMode |
( |
| ) |
|
|
inlinevirtual |
virtual void gl3::GLDevice::setAmbientLight |
( |
const std::array< float, 4 > & |
amb | ) |
|
|
pure virtual |
virtual void gl3::GLDevice::setClipPlaneEqn |
( |
const std::array< double, 4 > & |
eqn | ) |
|
|
pure virtual |
virtual void gl3::GLDevice::setClipPlaneUse |
( |
bool |
enable | ) |
|
|
pure virtual |
void gl3::GLDevice::setLineWidth |
( |
float |
w | ) |
|
|
inline |
virtual void gl3::GLDevice::setMaterial |
( |
Material |
mat | ) |
|
|
pure virtual |
virtual void gl3::GLDevice::setNumLights |
( |
int |
i | ) |
|
|
pure virtual |
virtual void gl3::GLDevice::setPointLight |
( |
int |
i, |
|
|
Light |
lt |
|
) |
| |
|
pure virtual |
void gl3::GLDevice::setStaticColor |
( |
const std::array< float, 4 > & |
rgba | ) |
|
|
inline |
void gl3::GLDevice::setTransformMatrices |
( |
glm::mat4 |
model_view, |
|
|
glm::mat4 |
projection |
|
) |
| |
|
virtual |
void gl3::GLDevice::setViewport |
( |
GLsizei |
w, |
|
|
GLsizei |
h |
|
) |
| |
bool gl3::GLDevice::useLegacyTextureFmts |
( |
| ) |
|
|
static |
glm::mat4 gl3::GLDevice::model_view_mtx |
|
protected |
glm::mat4 gl3::GLDevice::proj_mtx |
|
protected |
const int gl3::GLDevice::SAMPLER_ALPHA = 1 |
|
static |
const int gl3::GLDevice::SAMPLER_COLOR = 0 |
|
static |
std::array<float, 4> gl3::GLDevice::static_color |
|
protected |
int gl3::GLDevice::vp_height |
|
protected |
int gl3::GLDevice::vp_width |
|
protected |
The documentation for this class was generated from the following files: