GLKit Namespace

GLKit, a framework to simplify configuring and using OpenGL.

Remarks

The main goal of GLKit is to simplify many repetitive and error prone tasks that developers face when building OpenGL code. It supports: texture loading, view and view controller integration of OpenGL content, OpenGLES effects and a OpenGLES 1.1 effect compatibility kit for OpenGLES 2.0 apps.

GLKit offers a convenient way of loading images as GL textures -- both synchronously and asynchrously. The GLKit.GLTextureLoader can load textures and cube maps from MonoTOuch.CoreGraphics.CGImage objects, in-memory binary data, files and arbitrary Foundation.NSUrl locations. The textures are returned as GLKit.GLKTextureInfo objects.

It is now very easy to blend OpenGL content with Views and ViewControllers using GLKit.GLKView and GLKit.GLKViewController.

The GLKit.GLKBaseEffect class contains the most commonly used OpenGLES 1.1 effects for use in 2.0 applications. These include lightning, materials, multi-texturing, fog, constant color and transformations.

Other effects part of GLKit include GLKit.GLKSkyboxEffect and GLKit.GLKReflectionMapEffect.

Classes

TypeReason
GLKBaseEffectA class that provides a variety of shaders based on the OpenGL ES 1.1 lighting and shading model.
GLKEffectPropertyA base class whose subtypes define properties for graphic effects.
GLKEffectPropertyFogA class that holds properties that configure how fog is applied to an effect.
GLKEffectPropertyLightA class that holds properties that configure how a single light is applied to an effect.
GLKEffectPropertyMaterialA class that holds properties that configure the characteristics of a surface being lit.
GLKEffectPropertyTextureA class that holds properties that configure an OpenGL texturing operation.
GLKEffectPropertyTransformA class that holds properties that configure the coordinate transforms to be applied when rendering an effect.
GLKFogModeAn enumeration whose values specify different types of fog effect.
GLKLightingTypeAn enumeration whose values specify how lighting is calculated by an effect.
GLKNamedEffectA class that allows pre-drawing initialization for an effect.
GLKReflectionMapEffectA type of GLKit.GLKBaseEffect that has a reflection-mapping texturing stage.
GLKSkyboxEffectA skybox effect.
GLKTextureEnvModeAn enumeration of ways in which texture can be combined with other color components.
GLKTextureInfoEncapsulates the information relating to a texture.
GLKTextureInfoAlphaStateAn enumeration whose values specify the manner in which the alpha information is stored in the source image.
GLKTextureInfoOriginAn enumeration whose values specify the origin in the original source image.
GLKTextureLoaderLoads Image and cube maps into OpenGL textures.
GLKTextureLoaderCallbackSignature used by the asynchrous texture loading methods in GLKit.GLKTextureLoader.
GLKTextureLoaderErrorAn enumeration whose values specify errors relating to texture loading.
GLKTextureOperationsStrong type used to configure GLKTextureLoader operations.
GLKTextureTargetAn enumeration whose values specify different kinds of texture.
GLKVertexAttribAn enumeration whose values specify various components of a vertex.
GLKViewA UIKit.UIView that supports OpenGL ES rendering.
GLKView+GLKViewAppearanceAppearance class for objects of type GLKit.GLKView.
GLKViewController
GLKViewControllerDelegateA delegate object that gives the application developer fine-grained control over events relating to the life-cycle of a GLKit.GLKViewController object.
GLKViewControllerDelegate_ExtensionsExtension methods to the GLKit.IGLKViewControllerDelegate interface to support all the methods from the GLKit.GLKViewControllerDelegate protocol.
GLKViewDelegateA class that acts like a delegate object for instances of GLKit.GLKView.
GLKViewDrawableColorFormatAn enumeration whose values specify the format of the color renderbuffer.
GLKViewDrawableDepthFormatAn enumeration whose values specify the format of the depth renderbuffer.
GLKViewDrawableMultisampleAn enumeration whose values specify the format of the multisampling buffer.
GLKViewDrawableStencilFormatAn enumeration whose values specify the format of the stencil renderbuffer.
GLKViewDrawEventArgsProvides data for the GLKit.GLKViewDrawEventArgs.DrawInRect event.
IGLKNamedEffectInterface representing the required methods (if any) of the protocol GLKit.GLKNamedEffect.
IGLKViewControllerDelegateInterface representing the required methods (if any) of the protocol GLKit.GLKViewControllerDelegate.
IGLKViewDelegateInterface representing the required methods (if any) of the protocol GLKit.GLKViewDelegate.