<!--
{
  "documentType" : "article",
  "framework" : "GLKit",
  "identifier" : "/documentation/GLKit/glkit-enumerations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "GLKit Enumerations"
}
-->

# GLKit Enumerations

## Topics

### Enumerations

[`enum GLKFogMode`](/documentation/GLKit/GLKFogMode)

A mode that describes how the fog component is calculated for the fragment.

[`enum GLKLightingType`](/documentation/GLKit/GLKLightingType)

A constant that describes how lighting is calculated by an effect.

[`enum GLKTextureEnvMode`](/documentation/GLKit/GLKTextureEnvMode)

The mode used to combine the texture with other color components.

[`enum GLKTextureInfoAlphaState`](/documentation/GLKit/GLKTextureInfoAlphaState)

Values that describe the alpha information stored in a source image’s pixel data.

[`enum GLKTextureInfoOrigin`](/documentation/GLKit/GLKTextureInfoOrigin)

The location of the origin in the original source image.

[`enum Code`](/documentation/GLKit/GLKTextureLoaderError-swift.struct/Code)

Values to be returned when a texture loader encounters an error.

[`enum GLKTextureTarget`](/documentation/GLKit/GLKTextureTarget)

The kind of texture pointed to by the property.

[`enum GLKViewDrawableColorFormat`](/documentation/GLKit/GLKViewDrawableColorFormat)

The format of the color renderbuffer.

[`enum GLKViewDrawableDepthFormat`](/documentation/GLKit/GLKViewDrawableDepthFormat)

The format of the depth renderbuffer.

[`enum GLKViewDrawableMultisample`](/documentation/GLKit/GLKViewDrawableMultisample)

The format of the multisampling buffer.

[`enum GLKViewDrawableStencilFormat`](/documentation/GLKit/GLKViewDrawableStencilFormat)

The format of the stencil renderbuffer.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)