A simple skybox visual effect for use in shader-based OpenGL rendering.
- iOS 5.0–12.0Deprecated
- macOS 10.8–10.14Deprecated
- tvOS 9.0–12.0Deprecated
GLKSkybox provides a standard skybox effect for your application. Unlike the
GLKBase class, the skybox does not require your application to configure and submit vertex data. Instead, it creates its own vertex data based on the configuration data you supply.
At initialization time, your application first creates a compatible context and makes it current. Then, it creates new skybox effect, configures its properties, and calls its
prepare method. Binding the effect causes a shader to be compiled and bound to the current context.