cinder::gl Namespace
Show All |
Classes
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
struct
-
class
-
class
-
class
-
class
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
struct
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
-
class
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 Texture2dTexture
-
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_ttypeToDimension (GLenum type)
-
CI_API uint8_ttypeToBytes (GLenum type)
-
CI_API voiddraw (const Texture2dRef &texture, const vec2 &dstOffset=vec2())
-
CI_API voiddraw (const PolyLine2 &polyLine)
-
CI_API voiddrawSolid (const PolyLine2 &polyLine)
-
CI_API voiddrawCoordinateFrame (float axisLength=1.0f, float headLength=0.2f, float headRadius=0.05f)
-
CI_API voiddrawLine (const vec2 &a, const vec2 &b)
-
CI_API voiddrawArrays (GLenum mode, GLint first, GLsizei count)
-
CI_API voiddrawElements (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 voidparseKtx (const DataSourceRef &dataSource, TextureData *resultData)
-
CI_API voidparseDds (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 voidenableVerticalSync (bool enable=true)
-
CI_API boolisVerticalSyncEnabled ()
-
CI_API GLenumgetError ()
-
CI_API std::stringgetErrorString (GLenum err)
-
CI_API voidcheckError ()
-
CI_API GlslProgRef &getStockShader (const class ShaderDef &shader)
-
CI_API voidbindStockShader (const class ShaderDef &shader)
-
CI_API voidsetDefaultShaderVars ()
-
CI_API voidclear (const ColorA &color=ColorA::black(), bool clearDepthBuffer=true)
-
CI_API voidclear (GLbitfield mask)
-
CI_API voidclearColor (const ColorA &color)
-
CI_API voidclearDepth (const double depth)
-
CI_API voidclearDepth (const float depth)
-
CI_API voidclearStencil (const int s)
-
CI_API voidcolorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
-
CI_API voiddepthMask (GLboolean flag)
-
CI_API voidstencilFunc (GLenum func, GLint ref, GLuint mask)
-
CI_API voidstencilOp (GLenum fail, GLenum zfail, GLenum zpass)
-
CI_API voidstencilMask (GLuint mask)
-
CI_API std::pair< ivec2, ivec2 >getViewport ()
-
CI_API voidviewport (const std::pair< ivec2, ivec2 > positionAndSize)
-
CI_API voidviewport (int x, int y, int width, int height)
-
CI_API voidviewport (const ivec2 &position, const ivec2 &size)
-
CI_API voidviewport (const ivec2 &size)
-
CI_API voidpushViewport (const std::pair< ivec2, ivec2 > positionAndSize)
-
CI_API voidpushViewport ()
-
CI_API voidpushViewport (int x, int y, int width, int height)
-
CI_API voidpushViewport (const ivec2 &position, const ivec2 &size)
-
CI_API voidpushViewport (const ivec2 &size)
-
CI_API voidpopViewport ()
-
CI_API std::pair< ivec2, ivec2 >getScissor ()
-
CI_API voidscissor (const std::pair< ivec2, ivec2 > positionAndSize)
-
CI_API voidscissor (int x, int y, int width, int height)
-
CI_API voidscissor (const ivec2 &position, const ivec2 &size)
-
CI_API voidenable (GLenum state, bool enable=true)
-
CI_API voiddisable (GLenum state)
-
CI_API voidsetModelMatrix (const ci::mat4 &m)
-
CI_API voidsetViewMatrix (const ci::mat4 &m)
-
CI_API voidsetProjectionMatrix (const ci::mat4 &m)
-
CI_API voidpushModelMatrix ()
-
CI_API voidpopModelMatrix ()
-
CI_API voidpushViewMatrix ()
-
CI_API voidpopViewMatrix ()
-
CI_API voidpushProjectionMatrix ()
-
CI_API voidpopProjectionMatrix ()
-
CI_API voidmultModelMatrix (const ci::mat4 &mtx)
-
CI_API voidmultViewMatrix (const ci::mat4 &mtx)
-
CI_API voidmultProjectionMatrix (const ci::mat4 &mtx)
-
CI_API mat4getModelMatrix ()
-
CI_API mat4getViewMatrix ()
-
CI_API mat4getProjectionMatrix ()
-
CI_API mat4getModelView ()
-
CI_API mat4getModelViewProjection ()
-
CI_API mat4calcViewMatrixInverse ()
-
CI_API mat3calcModelMatrixInverseTranspose ()
-
CI_API mat3calcNormalMatrix ()
-
CI_API mat4calcViewportMatrix ()
-
CI_API voidsetMatricesWindowPersp (int screenWidth, int screenHeight, float fovDegrees=60.0f, float nearPlane=1.0f, float farPlane=1000.0f, bool originUpperLeft=true)
-
CI_API voidsetMatricesWindowPersp (const ci::ivec2 &screenSize, float fovDegrees=60.0f, float nearPlane=1.0f, float farPlane=1000.0f, bool originUpperLeft=true)
-
CI_API voidsetMatricesWindow (int screenWidth, int screenHeight, bool originUpperLeft=true)
-
CI_API voidsetMatricesWindow (const ci::ivec2 &screenSize, bool originUpperLeft=true)
-
CI_API voidrotate (const quat &quat)
-
CI_API voidbegin (GLenum mode)
-
CI_API voidend ()
-
CI_API voidbindBufferBase (GLenum target, int index, BufferObjRef buffer)
-
CI_API voidbeginTransformFeedback (GLenum primitiveMode)
-
CI_API voidendTransformFeedback ()
-
CI_API voidresumeTransformFeedback ()
-
CI_API voidpauseTransformFeedback ()
-
CI_API voidcolor (float r, float g, float b)
-
CI_API voidcolor (float r, float g, float b, float a)
-
CI_API voidcolor (const ci::Color &c)
-
CI_API voidcolor (const ci::ColorA &c)
-
CI_API voidcolor (const ci::Color8u &c)
-
CI_API voidcolor (const ci::ColorA8u &c)
-
CI_API voidtexCoord (float s, float t)
-
CI_API voidtexCoord (float s, float t, float r)
-
CI_API voidtexCoord (float s, float t, float r, float q)
-
CI_API voidtexCoord (const ci::vec2 &v)
-
CI_API voidtexCoord (const ci::vec3 &v)
-
CI_API voidtexCoord (const ci::vec4 &v)
-
CI_API voidvertex (float x, float y)
-
CI_API voidvertex (float x, float y, float z)
-
CI_API voidvertex (float x, float y, float z, float w)
-
CI_API voidvertex (const ci::vec2 &v)
-
CI_API voidvertex (const ci::vec3 &v)
-
CI_API voidvertex (const ci::vec4 &v)
-
CI_API voidvertexAttrib1f (GLuint index, float v0)
-
CI_API voidvertexAttrib (GLuint index, float v0)
-
CI_API voidvertexAttrib2f (GLuint index, float v0, float v1)
-
CI_API voidvertexAttrib (GLuint index, float v0, float v1)
-
CI_API voidvertexAttrib3f (GLuint index, float v0, float v1, float v2)
-
CI_API voidvertexAttrib (GLuint index, float v0, float v1, float v2)
-
CI_API voidvertexAttrib4f (GLuint index, float v0, float v1, float v2, float v3)
-
CI_API voidvertexAttrib (GLuint index, float v0, float v1, float v2, float v3)
-
CI_API voidbindBuffer (const BufferObjRef &buffer)
-
voiddraw (const svg::Doc &svg)
-
voiddrawSolidTriangle (const vec2 pts[3])
-
voiddrawStrokedTriangle (const vec2 &pt0, const vec2 &pt1, const vec2 &pt2)
-
allocateEnvironmentCore ()
-
allocateEnvironmentEs ()
-
createVaoImplCore ()
-
createVaoImplSoftware ()