CFx SDK Documentation
2020SP3
|
#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 65 of file GsOverlayDefs.h.
|
protected |
Enumerator | |
---|---|
kUserBg1 | |
kUserBg2 | |
kUserBg3 | |
kMain | |
kSprite | |
kDirect | |
kHighlight | |
kHighlightSelection | |
kDirectTopmost | |
kContrast | |
kUserFg1 | |
kUserFg2 | |
kUserFg3 | |
kNumOverlays |
Definition at line 68 of file GsOverlayDefs.h.
Overlays classification flags.
Enumerator | |
---|---|
kMainDepth | |
kNoDepth | |
kOwnDepth | |
kNoFrameBuf | |
kHltStyle | |
kContrastStyle |
Definition at line 79 of file GsOverlayDefs.h.
|
inlinestatic |
Returns overlay classification flags for specified overlay.
id | [in] Overlay index. |
Definition at line 92 of file GsOverlayDefs.h.
|
inlinestatic |
Convert overlay index into overlay rendering order.
id | [in] Overlay index. |
Definition at line 118 of file GsOverlayDefs.h.
|
inlinestatic |
Convert overlay rendering order into overlay index.
renderOrder | [in] Overlay rendering order. |
Definition at line 143 of file GsOverlayDefs.h.
|
inlinestatic |
Validate overlay definitions.
gsModelDef | [in] Number of overlay buffers defined in OdGsModel class. |
Definition at line 169 of file GsOverlayDefs.h.
|
inlinestatic |
Validate overlay index.
id | [in] Overlay index. |
Definition at line 177 of file GsOverlayDefs.h.
|
inlinestatic |
Validate rendering order.
renderOrder | [in] Overlay rendering order. |
Definition at line 185 of file GsOverlayDefs.h.