Classes


Typedefs

  • std::shared_ptr< Context >
    ContextRef
  • std::shared_ptr< Texture2d >
    Texture2dRef
  • 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< 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< class ShaderPreprocessor >
    ShaderPreprocessorRef
  • 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

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

Variables

  • std::string *
    SignalIncludeHandler
  • pthread_key_t
    sThreadSpecificCurrentContextKey
  • bool
    sThreadSpecificCurrentContextInitialized = false
  • sEnvironment = NULL
  • sDefaultUniformNameToSemanticMap
  • sDefaultAttribNameToSemanticMap