- load-ogl-cubemap-from-memory xpos-buffer xpos-length xneg-buffer xneg-length ypos-buffer ypos-length yneg-buffer yneg-length zpos-buffer zpos-length zneg-buffer zneg-length force-channels texture-id texture-flagsprocedure
Loads a cubemap texture from memory.
- xpos-buffer: Buffer to load for the +x cube face
- xpos-length: Size, in bytes, to read from xpos-buffer
- xneg-buffer: Buffer to load for the -x cube face
- xneg-length: Size, in bytes, to read from xneg-buffer
- ypos-buffer: Buffer to load for the +y cube face
- ypos-length: Size, in bytes, to read from ypos-buffer
- yneg-buffer: Buffer to load for the -y cube face
- yneg-length: Size, in bytes, to read from yneg-buffer
- zpos-buffer: Buffer to load for the +z cube face
- zpos-length: Size, in bytes, to read from zpos-buffer
- zneg-buffer: Buffer to load for the -z cube face
- zneg-length: Size, in bytes, to read from zneg-buffer
- force-channels: Format of image channels to force, see below definitions for appropriate values
- texture-id: Use either texture-id/create-new-id or use an existing texture id to overwrite an existing texture
- texture-flags: See below for appropriate texture/*** flags to use, i.e., texture/repeats or texture/mipmaps. Flags are bitwise, and can be combined with bitwise-ior
Returns an OpenGL texture ID.