GL Studio C++ Runtime API
ddsfile.h File Reference

DDS file loading functions. More...

#include "gls_gl.h"
#include <memory>
#include <vector>

Go to the source code of this file.

Classes

struct  DDSTextureInfo
 

Namespaces

namespace  disti
 Force inclusion of the DirectShow library.
 

Macros

#define GL_COMPRESSED_RED_RGTC1   0x8DBB
 Redefined from glext.h.
 
#define GL_COMPRESSED_SIGNED_RED_RGTC1   0x8DBC
 Redefined from glext.h.
 
#define GL_COMPRESSED_RG_RGTC2   0x8DBD
 Redefined from glext.h.
 
#define GL_COMPRESSED_SIGNED_RG_RGTC2   0x8DBE
 Redefined from glext.h.
 
#define GL_COMPRESSED_LUMINANCE_LATC1_EXT   0x8C70
 Redefined from glext.h.
 
#define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT   0x8C71
 Redefined from glext.h.
 
#define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT   0x8C72
 Redefined from glext.h.
 
#define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT   0x8C73
 Redefined from glext.h.
 

Functions

void DDSInitExtensions ()
 Calls necessary GL extension functions for DDS textures.
 
DDSTextureInfo * ReadDDSFile (const char *filename, bool loadTexels)
 
GLuint BindDDSTexture (DDSTextureInfo *texInfo, unsigned int skipLevels=0)
 

Detailed Description

DDS file loading functions.

Copyright Information

Copyright (c) 2017 by The DiSTI Corporation.
11301 Corporate Blvd; Suite 100
Orlando, Florida 32817
USA

All rights reserved.

This Software contains proprietary trade secrets of DiSTI and may not be reproduced, in whole or part, in any form, or by any means of electronic, mechanical, or otherwise, without the written permission of DiSTI. Said permission may be derived through the purchase of applicable DiSTI product licenses which detail the distribution rights of this content and any Derivative Works based on this or other copyrighted DiSTI Software.

NO WARRANTY. THE SOFTWARE IS PROVIDED "AS-IS," WITHOUT WARRANTY OF ANY KIND, AND ANY USE OF THIS SOFTWARE PRODUCT IS AT YOUR OWN RISK. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, DISTI AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES AND CONDITIONS, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT, WITH REGARD TO THE SOFTWARE.

LIMITATION OF LIABILITY. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL DISTI OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR INABILITY TO USE THE SOFTWARE, EVEN IF DISTI HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. DISTI'S ENTIRE LIABILITY AND YOUR EXCLUSIVE REMEDY SHALL NOT EXCEED FIVE DOLLARS (US$5.00).

The aforementioned terms and restrictions are governed by the laws of the State of Florida and the United States of America. Use, distribution, duplication, or disclosure by the U. S. Government is subject to "Restricted Rights" as set forth in DFARS 252.227-7014(c)(1)(ii).