1#ifndef _GLS_RENDER_OBJECT_H
2#define _GLS_RENDER_OBJECT_H
74 #if defined( GLS_DEBUG )
109 #if defined( GLS_DEBUG )
287#if defined( GLS_DEBUG )
288#pragma BullseyeCoverage save off
297 return( ( GlsRenderObject::LINE_WIDTH_MIN <= lineWidth ) && ( lineWidth <= GlsRenderObject::LINE_WIDTH_MAX ) );
299#pragma BullseyeCoverage restore
Definition: gls_display_object.h:65
Definition: gls_event.h:305
Definition: gls_render_object.h:70
void SetupTextureFilterSettings(GlsStateManager &gl) const
const GlsDepthBufferMode _depthBufferMode
Definition: gls_render_object.h:182
void SetupBackfaceCulling(GlsStateManager &gl) const
GlsColor _lineColor
Definition: gls_render_object.h:187
const GlsTextureMapMode _textureMapMode
Definition: gls_render_object.h:178
virtual ~GlsRenderObject()
GlsUInt32 _textureIndex
Definition: gls_render_object.h:188
GlsAlphaMode _alphaMode
Definition: gls_render_object.h:186
virtual void SetTextureIndex(const GlsUInt32 textureIndex)
const GlsShadingMode _shadingMode
Definition: gls_render_object.h:184
void SetupAlpha(GlsStateManager &gl) const
GlsRenderObject(const InitParameters &initParameters, GlsEventDispatcher *const eventDispatcher)
const GlsBool _antiAlias
Definition: gls_render_object.h:174
GlsPolygonMode _polygonMode
Definition: gls_render_object.h:190
const GlsTexturePalette & _texturePalette
Definition: gls_render_object.h:175
static const GLclampf ALPHA_MODE_2_LEVEL_REF
Definition: gls_render_object.h:172
virtual void OffsetTexture(const GlsVector2D &offset)=0
const GlsBool _textureRepeat
Definition: gls_render_object.h:176
virtual void SetLineWidth(const GlsFloat32 lineWidth)
virtual void SetLineColor(const GlsColor &lineColor)
GlsBool SetupTexture(GlsStateManager &gl, const GlsUInt32 textureIndex) const
const GlsPolygonEndMode _polygonEndMode
Definition: gls_render_object.h:183
void SetupLineStyle(GlsStateManager &gl) const
void SetupDepthTest(GlsStateManager &gl) const
const GlsTextureFilterMode _textureMagFilterMode
Definition: gls_render_object.h:179
virtual void SetFillColor(const GlsColor &fillColor)
GlsFloat32 _lineWidth
Definition: gls_render_object.h:192
const GlsTextureFilterMode _textureMinFilterMode
Definition: gls_render_object.h:180
GlsColor _fillColor
Definition: gls_render_object.h:191
void SetupShading(GlsStateManager &gl) const
GLint GlsTextureFilterModeToGL(const GlsTextureFilterMode mode) const
virtual void SetAlphaMode(const GlsAlphaMode alphaMode)
void SetupAntiAlias(GlsStateManager &gl) const
const GlsBool _cullBackFace
Definition: gls_render_object.h:181
virtual void SetPolygonMode(const GlsPolygonMode polygonMode)
Definition: gls_state_manager.h:64
Definition: gls_texture_palette.h:55
#define GLS_CLASS_INVARIANT_DECLARATION(ClassName)
Definition: gls_class_invariant.h:80
This header defines the base class for all graphical objects in the GL Studio DO-178B Runtime Library...
This header defines any preprocessor defines needed to configure the GL Studio DO-178B Runtime Librar...
This header defines the basic render setting types used in the GL Studio DO-178B Runtime Library.
GlsAlphaMode
Definition: gls_render_settings.h:163
GlsPolygonEndMode
Definition: gls_render_settings.h:192
GlsDepthBufferMode
Definition: gls_render_settings.h:105
GlsPolygonMode
Definition: gls_render_settings.h:132
GlsShadingMode
Definition: gls_render_settings.h:217
GlsTextureFilterMode
Definition: gls_render_settings.h:78
GlsTextureMapMode
Definition: gls_render_settings.h:48
This header defines the GlsTexturePalette class used in the GL Studio DO-178B Runtime Library.
bool GlsBool
Definition: gls_types.h:96
unsigned int GlsUInt32
Definition: gls_types.h:73
float GlsFloat32
Definition: gls_types.h:78
Definition: gls_color.h:48
Definition: gls_display_object.h:111
Definition: gls_render_object.h:83
const GlsTextureMapMode textureMapMode
Definition: gls_render_object.h:102
const GlsColor fillColor
Definition: gls_render_object.h:92
const GlsColor lineColor
Definition: gls_render_object.h:93
const GlsShadingMode shadingMode
Definition: gls_render_object.h:99
const GlsAlphaMode alphaMode
Definition: gls_render_object.h:86
const GlsUInt32 textureIndex
Definition: gls_render_object.h:100
const GlsDepthBufferMode depthBufferMode
Definition: gls_render_object.h:91
const GlsPolygonEndMode polygonEndMode
Definition: gls_render_object.h:98
const GlsDisplayObject::InitParameters displayInitParameters
Definition: gls_render_object.h:84
const GlsTextureFilterMode textureMagFilterMode
Definition: gls_render_object.h:103
const GlsBool antiAlias
Definition: gls_render_object.h:87
const GlsBool textureRepeat
Definition: gls_render_object.h:106
const GlsBool cullBackFace
Definition: gls_render_object.h:89
const GlsTexturePalette *const * texturePalette
Definition: gls_render_object.h:105
const GlsFloat32 lineWidth
Definition: gls_render_object.h:94
const GlsTextureFilterMode textureMinFilterMode
Definition: gls_render_object.h:104
const GlsPolygonMode polygonMode
Definition: gls_render_object.h:97
Definition: gls_vertex.h:50