#include <Environment.h>
Inherited by cinder::gl::EnvironmentCore.
|
virtual void | initializeFunctionPointers ()=0 |
|
ContextRef | createSharedContext (const Context *sharedContext) |
|
void | makeContextCurrent (const Context *context) |
|
virtual bool | isExtensionAvailable (const std::string &extName)=0 |
|
virtual bool | supportsHardwareVao ()=0 |
|
virtual bool | supportsTextureLod () const =0 |
|
virtual void | allocateTexStorage1d (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, bool immutable, GLint texImageDataType)=0 |
|
virtual void | allocateTexStorage2d (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, bool immutable, GLint texImageDataType)=0 |
|
virtual void | allocateTexStorage3d (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, bool immutable)=0 |
|
virtual void | allocateTexStorageCubeMap (GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, bool immutable)=0 |
|
virtual void | objectLabel (GLenum identifier, GLuint name, GLsizei length, const char *label)=0 |
|
virtual std::string | generateVertexShader (const ShaderDef &shader)=0 |
|
virtual std::string | generateFragmentShader (const ShaderDef &shader)=0 |
|
virtual GlslProgRef | buildShader (const ShaderDef &shader)=0 |
|
virtual void cinder::gl::Environment::initializeFunctionPointers |
( |
| ) |
|
|
pure virtual |
ContextRef cinder::gl::Environment::createSharedContext |
( |
const Context * |
sharedContext | ) |
|
void cinder::gl::Environment::makeContextCurrent |
( |
const Context * |
context | ) |
|
NULL for context deactivates the current context.
virtual bool cinder::gl::Environment::isExtensionAvailable |
( |
const std::string & |
extName | ) |
|
|
pure virtual |
virtual bool cinder::gl::Environment::supportsHardwareVao |
( |
| ) |
|
|
pure virtual |
virtual bool cinder::gl::Environment::supportsTextureLod |
( |
| ) |
const |
|
pure virtual |
Returns whether this platform supports Texture Level-of-Detail. true
everywhere but ES 2, which requires GL_EXT_shader_texture_lod
.
virtual void cinder::gl::Environment::allocateTexStorage1d |
( |
GLenum |
target, |
|
|
GLsizei |
levels, |
|
|
GLenum |
internalFormat, |
|
|
GLsizei |
width, |
|
|
bool |
immutable, |
|
|
GLint |
texImageDataType |
|
) |
| |
|
pure virtual |
virtual void cinder::gl::Environment::allocateTexStorage2d |
( |
GLenum |
target, |
|
|
GLsizei |
levels, |
|
|
GLenum |
internalFormat, |
|
|
GLsizei |
width, |
|
|
GLsizei |
height, |
|
|
bool |
immutable, |
|
|
GLint |
texImageDataType |
|
) |
| |
|
pure virtual |
virtual void cinder::gl::Environment::allocateTexStorage3d |
( |
GLenum |
target, |
|
|
GLsizei |
levels, |
|
|
GLenum |
internalFormat, |
|
|
GLsizei |
width, |
|
|
GLsizei |
height, |
|
|
GLsizei |
depth, |
|
|
bool |
immutable |
|
) |
| |
|
pure virtual |
virtual void cinder::gl::Environment::allocateTexStorageCubeMap |
( |
GLsizei |
levels, |
|
|
GLenum |
internalFormat, |
|
|
GLsizei |
width, |
|
|
GLsizei |
height, |
|
|
bool |
immutable |
|
) |
| |
|
pure virtual |
virtual void cinder::gl::Environment::objectLabel |
( |
GLenum |
identifier, |
|
|
GLuint |
name, |
|
|
GLsizei |
length, |
|
|
const char * |
label |
|
) |
| |
|
pure virtual |
virtual std::string cinder::gl::Environment::generateVertexShader |
( |
const ShaderDef & |
shader | ) |
|
|
pure virtual |
virtual std::string cinder::gl::Environment::generateFragmentShader |
( |
const ShaderDef & |
shader | ) |
|
|
pure virtual |
void cinder::gl::Environment::setCore |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following files: