0

Is raw image data available in GLKTextureInfo or in some related object?

Is it possible to create textures in GLKit basing on such raw-data image buffers? Like in non-ES OpenGL, using the glTexImage2D()?

Brad Larson
  • 170,088
  • 45
  • 397
  • 571
Calikin
  • 3
  • 1

1 Answers1

-1

There isn't any need to do so. GLKTextureLoader's purpose is to remove boilerplate from creating textures from various image file formats. If you already have the decoded raw binary data, then you can just call glGenTextures/glTexImage2D as usual: there isn't anything left that GLKit can really do to help you.

Frogblast
  • 1,671
  • 10
  • 9