CFx SDK Documentation 2024 SP0
|
#include <GsOverlayDefs.h>
Public Types | |
enum | OverlayTypeDefs { kMainDepth = 0 , kNoDepth = 1 , kOwnDepth = 2 , kNoFrameBuf = 4 , kHltStyle = 8 , kContrastStyle = 16 } |
Static Public Member Functions | |
static OdUInt32 | overlayFlags (OdGsOverlayId id) |
static OdUInt32 | overlayIndexToRenderingOrder (OdGsOverlayId id) |
static OdGsOverlayId | overlayRenderingOrderToIndex (OdUInt32 renderOrder) |
static bool | validateDefinitions (OdUInt32 gsModelDef) |
static bool | validateOverlayIndex (OdGsOverlayId id) |
static bool | validateRenderingOrder (OdUInt32 renderOrder) |
Protected Types | |
enum | OverlayRenderOrder { kUserBg1 = 0 , kUserBg2 , kUserBg3 , kMain , kSprite , kDirect , kHighlight , kHighlightSelection , kDirectTopmost , kContrast , kUserFg1 , kUserFg2 , kUserFg3 , kNumOverlays } |
Provides mapping between overlays priority order and rendering order representations.
<group OdGs_Classes>
Definition at line 67 of file GsOverlayDefs.h.
|
protected |
Enumerator | |
---|---|
kUserBg1 | |
kUserBg2 | |
kUserBg3 | |
kMain | |
kSprite | |
kDirect | |
kHighlight | |
kHighlightSelection | |
kDirectTopmost | |
kContrast | |
kUserFg1 | |
kUserFg2 | |
kUserFg3 | |
kNumOverlays |
Definition at line 70 of file GsOverlayDefs.h.
Overlays classification flags.
Enumerator | |
---|---|
kMainDepth | |
kNoDepth | |
kOwnDepth | |
kNoFrameBuf | |
kHltStyle | |
kContrastStyle |
Definition at line 81 of file GsOverlayDefs.h.
|
inlinestatic |
Returns overlay classification flags for specified overlay.
id | [in] Overlay index. |
Definition at line 94 of file GsOverlayDefs.h.
|
inlinestatic |
Converts overlay index into overlay rendering order.
id | [in] Overlay index. |
Definition at line 120 of file GsOverlayDefs.h.
|
inlinestatic |
Converts overlay rendering order into overlay index.
renderOrder | [in] Overlay rendering order. |
Definition at line 145 of file GsOverlayDefs.h.
|
inlinestatic |
Validate overlay definitions.
gsModelDef | [in] Number of overlay buffers defined in OdGsModel class. |
Definition at line 171 of file GsOverlayDefs.h.
|
inlinestatic |
Validate overlay index.
id | [in] Overlay index. |
Definition at line 180 of file GsOverlayDefs.h.
|
inlinestatic |
Validate rendering order.
renderOrder | [in] Overlay rendering order. |
Definition at line 188 of file GsOverlayDefs.h.