GL Studio C++ Runtime API
|
GL Studio Enumerations and constants. More...
#include "gls_include.h"
Go to the source code of this file.
Namespaces | |
namespace | disti |
Force inclusion of the DirectShow library. | |
Macros | |
#define | NUM_TEXTURE_POINTS 4 |
Number of texture points per object. | |
#define | OBJECT_SETTING_UNDEFINED -1 |
Default value to returned for an undefined setting. | |
#define | DEF_WINDOW_SIZE 500 |
Default application window width and height. | |
#define | DEF_FILE_NAME "Untitled" |
Default GLS design file name. | |
#define | DEF_LINE_RCOLOR 0 |
Default red channel for object outlines. | |
#define | DEF_LINE_GCOLOR 0 |
Default green channel for object outlines. | |
#define | DEF_LINE_BCOLOR 0 |
Default blue channel for object outlines. | |
#define | DEF_LINE_ALPHA 255 |
Default alpha channel for object outlines. | |
#define | DEF_FILL_RCOLOR 255 |
Default red channel for object fill. | |
#define | DEF_FILL_GCOLOR 255 |
Default green channel for object fill. | |
#define | DEF_FILL_BCOLOR 255 |
Default blue channel for object fill. | |
#define | DEF_FILL_ALPHA 255 |
Default alpha channel for object fill. | |
#define | DEF_GRID_RCOLOR 0 |
Default red channel for the editor canvas grid. | |
#define | DEF_GRID_GCOLOR 0 |
Default green channel for the editor canvas grid. | |
#define | DEF_GRID_BCOLOR 0 |
Default blue channel for the editor canvas grid. | |
#define | DEF_GRID_ALPHA 255 |
Default alpha channel for the editor canvas grid. | |
#define | DEF_AXES_RCOLOR 0 |
Default red channel for the editor canvas axes. | |
#define | DEF_AXES_GCOLOR 0 |
Default green channel for the editor canvas axes. | |
#define | DEF_AXES_BCOLOR 0 |
Default blue channel for the editor canvas axes. | |
#define | DEF_AXES_ALPHA 255 |
Default alpha channel for the editor canvas axes. | |
#define | DEF_TEXTURE_BLEND_RCOLOR 255 |
Default red channel for texture blending. | |
#define | DEF_TEXTURE_BLEND_GCOLOR 255 |
Default green channel for texture blending. | |
#define | DEF_TEXTURE_BLEND_BCOLOR 255 |
Default blue channel for texture blending. | |
#define | DEF_TEXTURE_BLEND_ALPHA 255 |
Default alpha channel for texture blending. | |
#define | DEF_BACKGROUND_RCOLOR 160 |
Default red channel for editor canvas, and application clear color. | |
#define | DEF_BACKGROUND_GCOLOR 168 |
Default green channel for editor canvas, and application clear color. | |
#define | DEF_BACKGROUND_BCOLOR 176 |
Default blue channel for editor canvas, and application clear color. | |
#define | DEF_BACKGROUND_ALPHA 255 |
Default alpha channel for editor canvas, and application clear color. | |
#define | DEF_LIGHT_COLOR 255 |
Unused, remains for backward compatibility. | |
#define | DEF_LINE_WIDTH 1.0 |
Default width in pixels for object outlines. | |
#define | DEF_LINE_STIPPLE_PATTERN 65535 |
Default line stipple pattern (solid). | |
#define | DEF_LINE_STIPPLE_MULTIPLIER 1 |
Default line stipple multiplier. | |
#define | DEF_QUAD_WIDTH 25.0 |
Unused, remains for backward compatibility. | |
#define | DEF_QUAD_HEIGHT 25.0 |
Unused, remains for backward compatibility. | |
#define | DEF_CIRCLE_WIDTH 25.0 |
Unused, remains for backward compatibility. | |
#define | DEF_CIRCLE_HEIGHT 25.0 |
Unused, remains for backward compatibility. | |
#define | DEF_SHADING SHADING_FLAT |
Default shading model for objects. | |
#define | DEF_LIGHTING_ENABLED 0 |
Default lighting state for objects. | |
#define | DEF_USE_PARENT_LIGHTING true |
Default parent lighting for objects. | |
#define | DEF_POLY_MODE POLY_MODE_OUTLINE |
Default draw mode for objects. | |
#define | DEF_POLY_END POLY_CLOSED |
Default to drawing closed polygons. | |
#define | DEF_TEXTURE_REPEAT TRUE |
Default texture repeat state for objects. | |
#define | DEF_TEXTURE_MAGNIFICATION TEXTURE_FILTER_LINEAR |
Default texture magnification for objects. | |
#define | DEF_TEXTURE_MINIFICATION TEXTURE_FILTER_LINEAR |
Default texture minification for objects. | |
#define | DEF_TEXTURE_MAP TEXTURE_MAP_REPLACE |
Default texture mapping mode for objects. | |
#define | DEF_POLYGON_MIN_DIMENSION 1 |
Unused, remains for backward compatibility. | |
#define | DEF_POLYGON_OFFSET 0 |
Unused, remains for backward compatibility. | |
#define | DEF_DOUBLE_CLICK 500 |
Editor canvas double click interval, in milliseconds. | |
#define | DEF_DOUBLE_CLICK_TOLERANCE 5 |
Editor canvas location tolerance, in logical units. | |
#define | DEF_STATIC_FLAG FALSE |
Unused, remains for backward compatibility. | |
#define | DEF_ALPHAMODE ALPHA_MODE_256_LEVEL |
Default alpha test mode for objects. | |
#define | DEF_VISIBILITY TRUE |
Default visibility for objects. | |
#define | DEF_CULLBACKFACE FALSE |
Default backface drawing mode for objects. | |
#define | DEF_ZBUFFER DEPTH_BUFFER_TEST_NO_WRITE |
Default depth buffer write mode for objects. | |
#define | DEF_ANTIALIAS FALSE |
Default anti alias state for objects. | |
#define | DEF_CIRCLE_SEGMENTS 30 |
Unused, remains for backward compatibility. | |
#define | DEF_PROTECTION_MODE PUBLIC |
Default variable protection mode for objects. | |
#define | DEF_ARC_ANGLE_AMOUNT 90.0 |
Unused, remains for backward compatibility. | |
#define | DEF_ARC_START_ANGLE 270.0 |
Unused, remains for backward compatibility. | |
#define | DEF_PROJECTION ORTHOGRAPHIC |
Unused, remains for backward compatibility. | |
#define | DEF_BUFFER DOUBLE_BUFFER |
Unused, remains for backward compatibility. | |
#define | DEF_FRAME_RATE 30 |
Default framerate for applications. | |
#define | DEF_REDRAW REDRAW_CONSTANT |
Default redraw behavior for applications. | |
#define | DEF_BLINK false |
Default blink mode for objects. | |
#define | DEF_BLINK_RATE 2.0 |
Default blink rate for objects in seconds. | |
#define | DEF_PICKABLE PICK_FIRST |
Default pick mode for objects. | |
#define | DEF_MATERIAL_INDEX 0 |
Default material index for objects. | |
#define | DEF_TEXTURE_PALETTE_SIZE 50 |
Unused, remains for backward compatibility. | |
Enumerations | |
enum | TextureMap_e { TEXTURE_MAP_MODULATE , TEXTURE_MAP_DECAL , TEXTURE_MAP_BLEND , TEXTURE_MAP_REPLACE } |
enum | TextureFilter_e { TEXTURE_FILTER_NEAREST , TEXTURE_FILTER_LINEAR , TEXTURE_FILTER_NEAREST_MIPMAP_NEAREST , TEXTURE_FILTER_LINEAR_MIPMAP_LINEAR , TEXTURE_FILTER_NEAREST_MIPMAP_LINEAR , TEXTURE_FILTER_LINEAR_MIPMAP_NEAREST } |
enum | DepthBuffer_e { DEPTH_BUFFER_NO_TEST_NO_WRITE = 0 , DEPTH_BUFFER_TEST_AND_WRITE , DEPTH_BUFFER_TEST_NO_WRITE , DEPTH_BUFFER_NO_TEST_AND_WRITE } |
enum | PolygonMode_e { POLY_MODE_UNDEFINED , POLY_MODE_POINTS , POLY_MODE_OUTLINE , POLY_MODE_FILLED , POLY_MODE_FILL_AND_OUTLINE } |
enum | AlphaMode_e { ALPHA_MODE_UNDEFINED , ALPHA_MODE_OPAQUE , ALPHA_MODE_2_LEVEL , ALPHA_MODE_256_LEVEL } |
enum | PolygonClose_e { POLY_OPEN , POLY_CLOSED } |
enum | ShadingType_e { SHADING_FLAT , SHADING_GOURAUD } |
enum | MemberAccess_e { PUBLIC , PRIVATE , PROTECTED } |
enum | RedrawBehavior_e { REDRAW_CONDITIONAL , REDRAW_CONSTANT , REDRAW_CONTINUOUS } |
enum | PickableType_e { PICK_NEVER , PICK_FIRST , PICK_BEST , PICK_ALWAYS } |
enum | ColorMaterialMode_e { NO_COLOR_MATERIAL , DIFFUSE_COLOR_MATERIAL , AMBIENT_COLOR_MATERIAL , DIFFUSE_AND_AMBIENT_COLOR_MATERIAL , EMISSION_COLOR_MATERIAL , SPECULAR_COLOR_MATERIAL } |
enum | Views { VIEW_XY = 1 , VIEW_XZ = 2 , VIEW_ZY = 4 , VIEW_PERSPECTIVE = 8 , VIEW_EYEPOINT = 16 } |
enum | GLS_Initializers { GLS_INSTANCE_NAME = 1 , GLS_LOCATION , GLS_ROTATION_POINT , GLS_ACTION_CALLBACK , GLS_OBJECT_NAME , GLS_ATTRIBUTE_NAME , GLS_TEXTURE_INDEX , GLS_TEXTURE_REPEAT , GLS_TEXTURE_MAP_MODE , GLS_TEXTURE_MIN_FILTER , GLS_TEXTURE_MAG_FILTER , GLS_TEXTURE_BLEND_COLOR , GLS_TEXTURE_ROTATION , GLS_TEXTURE_SCALE_H , GLS_TEXTURE_SCALE_V , GLS_TEXTURE_OFFSET_X , GLS_TEXTURE_OFFSET_Y , GLS_POLYGON_MODE , GLS_POLYGON_END , GLS_POLYGON_OFFSET , GLS_COLOR , GLS_COLOR_MATERIAL_MODE , GLS_LINE_WIDTH , GLS_LINE_STIPPLE_PATTERN , GLS_LINE_STIPPLE_MULTIPLIER , GLS_VISIBILITY , GLS_CULLBACKFACE , GLS_ALPHAMODE , GLS_ANTIALIAS , GLS_ZBUFFER , GLS_SHADING , GLS_BLINKING , GLS_BLINK_RATE , GLS_PICKABLE , GLS_LIGHTING_ENABLED , GLS_MATERIAL_INDEX , GLS_MATERIAL_INDICES , GLS_DCS_MATRIX , GLS_COMPONENT_ABSOLUTE_PLACEMENT , GLS_COMPONENT_EDITOR_TRANSFORM , GLS_TEXTURE_POINTS , GLS_LAST_INITIALIZER } |
GL Studio Enumerations and constants.
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.