- load-ogl-cubemap xpos-file xneg-file ypos-file yneg-file zpos-file zneg-file force-channels texture-id texture-flagsprocedure
Loads a cubemap texture from disc.
- xpos-file: File to load for the +x cube face
- xneg-file: File to load for the -x cube face
- ypos-file: File to load for the +y cube face
- yneg-file: File to load for the -y cube face
- zpos-file: File to load for the +z cube face
- zneg-file: File to load for the -z cube face
- 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.