GL Studio SCECpp Runtime Library
Enumerations
gls_render_settings.h File Reference

This header defines the basic render setting types used in the GL Studio DO-178B Runtime Library. More...

#include "gls_include.h"
#include "gls_types.h"

Go to the source code of this file.

Enumerations

enum  GlsTextureMapMode { GLS_TEXTURE_MAP_MODE_MODULATE, GLS_TEXTURE_MAP_MODE_DECAL, GLS_TEXTURE_MAP_MODE_REPLACE }
 
enum  GlsTextureFilterMode { GLS_TEXTURE_FILTER_MODE_NEAREST, GLS_TEXTURE_FILTER_MODE_LINEAR }
 
enum  GlsDepthBufferMode { GLS_DEPTH_BUFFER_MODE_TEST, GLS_DEPTH_BUFFER_MODE_NO_TEST }
 
enum  GlsPolygonMode { GLS_POLYGON_MODE_POINTS, GLS_POLYGON_MODE_OUTLINE, GLS_POLYGON_MODE_FILLED, GLS_POLYGON_MODE_FILL_AND_OUTLINE }
 
enum  GlsAlphaMode { GLS_ALPHA_MODE_OPAQUE, GLS_ALPHA_MODE_2_LEVEL, GLS_ALPHA_MODE_256_LEVEL }
 
enum  GlsPolygonEndMode { GLS_POLYGON_END_MODE_OPEN, GLS_POLYGON_END_MODE_CLOSED }
 
enum  GlsShadingMode { GLS_SHADING_MODE_FLAT, GLS_SHADING_MODE_GOURAUD }
 

Detailed Description

This header defines the basic render setting types used in the GL Studio DO-178B Runtime Library.

Copyright Information
Copyright (C) 1999-2012 The DiSTI Corporation
Orlando, FL USA
All rights reserved.

This file is copyrighted software and contains proprietary trade secrets of DiSTI, and embodies substantial creative efforts as well as confidential information, ideas, and expressions.

Permission to use, and copy this software and its documentation for any purpose is hereby granted per the Distribution Agreement and/or the Licensing Agreement signed with DiSTI. This permission is granted provided that:

  1. The above copyright notice appears in all copies.
  2. That both the copyright notice and this permission notice appear in the supporting documentation.
  3. That the names DiSTI and GL Studio not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission of DiSTI.

Permission to modify the software is granted, but not the right to distribute the source code whether modified, or non-modified. Modifying the software might invalidate the DO-178B certification package.

Permission to distribute binaries produced by compiling source code, or modified source code is granted, provided you:

  1. Provide your name and address as the primary contact for the support of your modified version.
  2. Retain our contact information in regard to use of the base software.

DiSTI does not provide warranty for this software or guarantee that it satisfies any specification or requirement unless otherwise stated in a specific contractual arrangement between the customer and DiSTI.

Enumeration Type Documentation

Enumeration for Alpha Blending/Testing mode

Enumerator
GLS_ALPHA_MODE_OPAQUE 

Alpha testing and blending are disabled

GLS_ALPHA_MODE_2_LEVEL 

Alpha testing with a threshold of 0.5 is enabled, alpha blending is enabled.

GLS_ALPHA_MODE_256_LEVEL 

Alpha blending is enabled, alpha testing is disabled.

Enumeration for the Depth Testing and Writting mode

Enumerator
GLS_DEPTH_BUFFER_MODE_TEST 

test against depth buffer

GLS_DEPTH_BUFFER_MODE_NO_TEST 

do not test against depth buffer

Enumeration for whether or not polygon is closed or open

Enumerator
GLS_POLYGON_END_MODE_OPEN 

Polygon will be drawn open

GLS_POLYGON_END_MODE_CLOSED 

Polygon will be drawn close

Enumeration for polygon drawing mode of the object

Enumerator
GLS_POLYGON_MODE_POINTS 

Polygon will be rendered with a point at each vertex

GLS_POLYGON_MODE_OUTLINE 

Polygon will be rendered as an outline

GLS_POLYGON_MODE_FILLED 

Polygon will be rendered filled-in

GLS_POLYGON_MODE_FILL_AND_OUTLINE 

Polygon will be rendered filled-in and with an outline

Enumeration for the type of shading used when drawing

Enumerator
GLS_SHADING_MODE_FLAT 

The object will be drawn with flat shading (monochromatic)

GLS_SHADING_MODE_GOURAUD 

The object will be drawn with gouraud shading (linear color interpolation)

Enumeration for texture filtering mode of the object

Enumerator
GLS_TEXTURE_FILTER_MODE_NEAREST 

Nearest pixel filtering

GLS_TEXTURE_FILTER_MODE_LINEAR 

Bilinear interpolation filtering

Enumeration for texture mapping mode of the object

Enumerator
GLS_TEXTURE_MAP_MODE_MODULATE 

Texture color and alpha is modulated with polygon color and alpha

GLS_TEXTURE_MAP_MODE_DECAL 

Texture color is blended with polygon color

GLS_TEXTURE_MAP_MODE_REPLACE 

Texture color and alpha replace polygon color and alpha