Classes


Typedefs

  • std::shared_ptr< Context >
    ContextRef
  • std::shared_ptr< Batch >
    BatchRef
  • std::shared_ptr< VertBatch >
    VertBatchRef
  • std::shared_ptr< class BufferObj >
    BufferObjRef
  • std::shared_ptr< class BufferTexture >
    BufferTextureRef
  • std::shared_ptr< Vbo >
    VboRef
  • std::shared_ptr< Vao >
    VaoRef
  • std::shared_ptr< TransformFeedbackObj >
    TransformFeedbackObjRef
  • std::shared_ptr< Texture2d >
    Texture2dRef
  • std::shared_ptr< GlslProg >
    GlslProgRef
  • std::shared_ptr< Fbo >
    FboRef
  • std::shared_ptr< class VboMesh >
    VboMeshRef
  • std::shared_ptr< Renderbuffer >
    RenderbufferRef
  • std::shared_ptr< FboCubeMap >
    FboCubeMapRef
  • std::shared_ptr< class Pbo >
    PboRef
  • std::shared_ptr< class Query >
    QueryRef
  • std::shared_ptr< class QueryTimeSwapped >
    QueryTimeSwappedRef
  • TextureRef
  • std::shared_ptr< Ssbo >
    SsboRef
  • std::shared_ptr< class Sync >
    SyncRef
  • class Texture2d
    Texture
  • std::shared_ptr< class TextureBase >
    TextureBaseRef
  • std::shared_ptr< class Texture1d >
    Texture1dRef
  • std::shared_ptr< class Texture3d >
    Texture3dRef
  • std::shared_ptr< class TextureCubeMap >
    TextureCubeMapRef
  • std::shared_ptr< class Texture2dCache >
    Texture2dCacheRef
  • std::shared_ptr< class TextureFont >
    TextureFontRef
  • std::shared_ptr< class Ubo >
    UboRef

Enumerations


Functions

  • std::ostream &
    operator<< (std::ostream &os, const BufferObj &rhs)
  • uint8_t
    typeToDimension (GLenum type)
  • uint8_t
    typeToBytes (GLenum type)
  • draw (const Texture2dRef &texture, const vec2 &dstOffset=vec2())
  • draw (const PolyLine2 &polyLine)
  • drawSolid (const PolyLine2 &polyLine)
  • drawCoordinateFrame (float axisLength=1.0f, float headLength=0.2f, float headRadius=0.05f)
  • drawLine (const vec2 &a, const vec2 &b)
  • drawArrays (GLenum mode, GLint first, GLsizei count)
  • drawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
  • std::ostream &
    operator<< (std::ostream &os, const Renderbuffer &rhs)
  • std::ostream &
    operator<< (std::ostream &os, const TextureBase &rhs)
  • parseKtx (const DataSourceRef &dataSource, TextureData *resultData)
  • parseDds (const DataSourceRef &dataSource, TextureData *resultData)
  • std::ostream &
    operator<< (std::ostream &lhs, const Vao &rhs)
  • std::ostream &
    operator<< (std::ostream &lhs, const Vao::Layout &rhs)
  • class Context *
    context ()
  • class Environment *
    env ()
  • enableVerticalSync (bool enable=true)
  • bool
    isVerticalSyncEnabled ()
  • getError ()
  • getErrorString (GLenum err)
  • checkError ()
  • getStockShader (const class ShaderDef &shader)
  • bindStockShader (const class ShaderDef &shader)
  • setDefaultShaderVars ()
  • clear (const ColorA &color=ColorA::black(), bool clearDepthBuffer=true)
  • clear (GLbitfield mask)
  • clearColor (const ColorA &color)
  • clearDepth (const double depth)
  • clearDepth (const float depth)
  • clearStencil (const int s)
  • colorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
  • depthMask (GLboolean flag)
  • stencilFunc (GLenum func, GLint ref, GLuint mask)
  • stencilOp (GLenum fail, GLenum zfail, GLenum zpass)
  • stencilMask (GLuint mask)
  • std::pair< ivec2, ivec2 >
    getViewport ()
  • viewport (const std::pair< ivec2, ivec2 > positionAndSize)
  • viewport (int x, int y, int width, int height)
  • viewport (const ivec2 &position, const ivec2 &size)
  • viewport (const ivec2 &size)
  • pushViewport (const std::pair< ivec2, ivec2 > positionAndSize)
  • pushViewport ()
  • pushViewport (int x, int y, int width, int height)
  • pushViewport (const ivec2 &position, const ivec2 &size)
  • pushViewport (const ivec2 &size)
  • popViewport ()
  • std::pair< ivec2, ivec2 >
    getScissor ()
  • scissor (const std::pair< ivec2, ivec2 > positionAndSize)
  • scissor (int x, int y, int width, int height)
  • scissor (const ivec2 &position, const ivec2 &size)
  • enable (GLenum state, bool enable=true)
  • disable (GLenum state)
  • setModelMatrix (const ci::mat4 &m)
  • setViewMatrix (const ci::mat4 &m)
  • setProjectionMatrix (const ci::mat4 &m)
  • pushModelMatrix ()
  • popModelMatrix ()
  • pushViewMatrix ()
  • popViewMatrix ()
  • pushProjectionMatrix ()
  • popProjectionMatrix ()
  • multModelMatrix (const ci::mat4 &mtx)
  • multViewMatrix (const ci::mat4 &mtx)
  • multProjectionMatrix (const ci::mat4 &mtx)
  • mat4
    getModelMatrix ()
  • mat4
    getViewMatrix ()
  • mat4
    getProjectionMatrix ()
  • mat4
    getModelView ()
  • mat4
    getModelViewProjection ()
  • mat4
    calcViewMatrixInverse ()
  • mat3
    calcModelMatrixInverseTranspose ()
  • mat3
    calcNormalMatrix ()
  • mat4
    calcViewportMatrix ()
  • setMatricesWindowPersp (int screenWidth, int screenHeight, float fovDegrees=60.0f, float nearPlane=1.0f, float farPlane=1000.0f, bool originUpperLeft=true)
  • setMatricesWindowPersp (const ci::ivec2 &screenSize, float fovDegrees=60.0f, float nearPlane=1.0f, float farPlane=1000.0f, bool originUpperLeft=true)
  • setMatricesWindow (int screenWidth, int screenHeight, bool originUpperLeft=true)
  • setMatricesWindow (const ci::ivec2 &screenSize, bool originUpperLeft=true)
  • rotate (const quat &quat)
  • begin (GLenum mode)
  • end ()
  • bindBufferBase (GLenum target, int index, BufferObjRef buffer)
  • beginTransformFeedback (GLenum primitiveMode)
  • endTransformFeedback ()
  • resumeTransformFeedback ()
  • pauseTransformFeedback ()
  • color (float r, float g, float b)
  • color (float r, float g, float b, float a)
  • color (const ci::Color &c)
  • color (const ci::ColorA &c)
  • color (const ci::Color8u &c)
  • color (const ci::ColorA8u &c)
  • texCoord (float s, float t)
  • texCoord (float s, float t, float r)
  • texCoord (float s, float t, float r, float q)
  • texCoord (const ci::vec2 &v)
  • texCoord (const ci::vec3 &v)
  • texCoord (const ci::vec4 &v)
  • vertex (float x, float y)
  • vertex (float x, float y, float z)
  • vertex (float x, float y, float z, float w)
  • vertex (const ci::vec2 &v)
  • vertex (const ci::vec3 &v)
  • vertex (const ci::vec4 &v)
  • vertexAttrib1f (GLuint index, float v0)
  • vertexAttrib (GLuint index, float v0)
  • vertexAttrib2f (GLuint index, float v0, float v1)
  • vertexAttrib (GLuint index, float v0, float v1)
  • vertexAttrib3f (GLuint index, float v0, float v1, float v2)
  • vertexAttrib (GLuint index, float v0, float v1, float v2)
  • vertexAttrib4f (GLuint index, float v0, float v1, float v2, float v3)
  • vertexAttrib (GLuint index, float v0, float v1, float v2, float v3)
  • bindBuffer (const BufferObjRef &buffer)
  • draw (const svg::Doc &svg)
  • drawSolidTriangle (const vec2 pts[3])
  • drawStrokedTriangle (const vec2 &pt0, const vec2 &pt1, const vec2 &pt2)
  • allocateEnvironmentCore ()
  • allocateEnvironmentEs ()
  • std::ostream &
    operator<< (std::ostream &os, const Fbo &rhs)
  • std::ostream &
    operator<< (std::ostream &os, const GlslProg &rhs)
  • createVaoImplCore ()
  • createVaoImplSoftware ()

Variables