Contents

GLKTextureLoaderGenerateMipmaps

Whether or not to create mipmaps for a texture.

Declaration

let GLKTextureLoaderGenerateMipmaps: String

Discussion

The value for this key is an NSNumber object that specifies a boolean value. If false, only the texture is loaded. If true, a full set of mipmap levels are generated for the texture when the texture is created. The GL_TEXTURE_MIN_FILTER parameter for the texture is changed to GL_LINEAR_MIPMAP_LINEAR when mipmaps are generated. If the key is not specified, the default value is false.

See Also

Constants