| Cogl 2.0 Reference Manual |
|---|
- About Cogl
- The Object Interface
- The Top-Level Context — The top level application context.
- Main loop integeration — Functions for integrating Cogl with an application's main loop
- Setting Up A GPU Pipeline
- Blend Strings — A simple syntax and grammar for describing blending and texture combining functions.
- Pipeline — Functions for creating and manipulating the GPU pipeline
- Shader snippets — Functions for creating and manipulating shader snippets
- Allocating GPU Memory
- CoglBuffer: The Buffer Interface — Common buffer functions, including data upload APIs
- CoglAttributeBuffer: Buffers of vertex attributes — Functions for creating and manipulating attribute buffers
- CoglIndexBuffer: Buffers of vertex indices — Functions for creating and manipulating vertex indices.
- Describing the layout of GPU Memory
- Vertex Attributes — Functions for declaring and drawing vertex attributes
- Indices
- Geometry
- Primitives — Functions for creating, manipulating and drawing primitives
- Path Primitives — Functions for constructing and drawing 2D paths.
- Rectangles
- Textures
- The Texture Interface — Fuctions for creating and manipulating textures
- 2D textures — Functions for creating and manipulating 2D textures
- 3D textures — Fuctions for creating and manipulating 3D textures
- Rectangle textures (non-normalized coordinates) — Functions for creating and manipulating rectangle textures for use with non-normalized coordinates.
- Meta Textures
- High Level Meta Textures — Interface for high-level textures built from low-level textures like CoglTexture2D and CoglTexture3D.
- Sub Textures — Functions for creating and manipulating sub-textures.
- Sliced Textures — Functions for creating and manipulating 2D meta textures that may internally be comprised of multiple 2D textures with power-of-two sizes.
- X11 Texture From Pixmap — Functions for creating and manipulating 2D meta textures derived from X11 pixmaps.
- Framebuffers
- CoglFramebuffer: The Framebuffer Interface — A common interface for manipulating framebuffers
- Offscreen Framebuffers — Fuctions for creating and manipulating offscreen framebuffers.
- Utilities
- Color Type — A generic color definition
- Matrices — Fuctions for initializing and manipulating 4x4 matrices
- 3 Component Vectors — Functions for handling single precision float vectors.
- Quaternions (Rotations) — Functions for initializing and manipulating quaternions.
- Common Types
- Binding and Integrating
Cogl is a modern 3D graphics API with associated utility APIs designed to expose the features of 3D graphics hardware using a more object oriented design than OpenGL. The library has primarily been driven by the practical needs of Clutter but it is not tied to any one toolkit or even constrained to developing UI toolkits.
