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

The Image class. All textures are converted internally into Images. More...

#include "IFontImage.h"
#include "file_path_class.h"
#include "gls_include.h"
#include "list.h"
#include "util.h"
#include <stdio.h>

Go to the source code of this file.

Classes

struct  glsInlineImage
 
class  Image
 
class  Image::LoadOptions
 
class  Image::InstanceListEntry
 
class  Image::InstanceListEntry::FileID
 

Namespaces

 disti
 

Enumerations

enum  glsImageCodec { GLS_CODEC_RAW, GLS_CODEC_LZ77, GLS_CODEC_JPEG }
 
enum  ImageNPOTMode { GLS_NPOT_AUTO, GLS_NPOT_ENABLED, GLS_NPOT_DISABLED }
 

Functions

void SetNPOTState (ImageNPOTMode state)
 
ImageNPOTMode DoesSystemSupportNPOT ()
 
void SetReleaseImageDataDefault (bool enable)
 
bool GetReleaseImageDataDefault (void)
 

Variables

const int IMG_TRANSPARENT = 0
 
const int IMG_NON_TRANSPARENT = 255
 
const int MAX_MIP_MAP_IMAGES = 16
 

Detailed Description

The Image class. All textures are converted internally into Images.

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.