39#ifndef GLS_SORTED_RENDER_GROUP_H_INCLUDED
40#define GLS_SORTED_RENDER_GROUP_H_INCLUDED
46#if( defined( GLSGEN_EXPORT_GLSADVANCEDMESH ) || defined( GLSGEN_IMPORT_GLSADVANCEDMESH ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \
47 && defined( _MSC_VER )
48# if defined( GLSGEN_EXPORT_GLSADVANCEDMESH ) || defined( GLS_EXPORT_GENERATED )
49# define GLSGEN_GlsAdvancedMesh_EXPORT __declspec( dllexport )
51# define GLSGEN_GlsAdvancedMesh_EXPORT __declspec( dllimport )
54# define GLSGEN_GlsAdvancedMesh_EXPORT
61class GlsGeometryResource;
62class GlsSortedDrawable;
63class GlsDeferredDrawGroup;
69 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
95 : drawEntryListCount( 0 )
96 , orderPreservedDrawListCount( 0 )
Definition: gls_sorted_draw_group.h:77
DeferredDrawListT deferredDrawList
Unused.
Definition: gls_sorted_draw_group.h:90
EntryListT drawEntryList
List of drawables in sorted order.
Definition: gls_sorted_draw_group.h:88
std::vector< GlsDeferredDrawGroup * > DeferredDrawListT
Unused.
Definition: gls_sorted_draw_group.h:87
EntryListT orderPreservedDrawList
List of drawables in orginal order.
Definition: gls_sorted_draw_group.h:89
void Draw()
Draw the nodes.
void RegisterDrawable(GlsSortedDrawable *obj)
std::vector< GlsSortedDrawable * > EntryListT
Typedef for a list of drawables.
Definition: gls_sorted_draw_group.h:86
unsigned long drawEntryListCount
Number of elements in the entry list.
Definition: gls_sorted_draw_group.h:91
void Clear()
Clear the list.
unsigned long orderPreservedDrawListCount
Number of elements in the original order list.
Definition: gls_sorted_draw_group.h:92
void Sort()
Sort the list using GlsSortedDrawable::SortedDraw_Compare.
Definition: gls_sorted_draw_group.h:67
virtual void Draw() DISTI_METHOD_OVERRIDE
DrawList _drawList
Holds sorting and object data.
Definition: gls_sorted_draw_group.h:132
static DrawList * GetActiveDrawListPtr()
static void SetActiveDrawListPtr(DrawList *)
Set the active GlsSortedDrawGroup::DrawList for the calling thread.
bool _sortedDrawDisabled
If true, draw in original order rather than sorted order.
Definition: gls_sorted_draw_group.h:131
Definition: gls_sorted_drawable.h:48
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:457
#define DISTI_METHOD_OVERRIDE
Macro to wrap the override keyword, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:214
#define GLSGEN_GlsAdvancedMesh_EXPORT
Provides support for creating DLLs.
Definition: gls_sorted_draw_group.h:54
The disti::Group class. Implements groups of objects.
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47