|
enum | FileAttrFlags : std::uint32_t { kUseNetwork = 1 << 0
, kHasMetadata = 1 << 4
} |
|
enum | VisitResourceMask : std::uint32_t {
kNestedMovies = 1 << 15
, kFonts = 1 << 0
, kBitmaps = 1 << 1
, kGradientImages = 1 << 2
,
kEditTextFields = 1 << 3
, kSounds = 1 << 4
, kSprite = 1 << 5
, kAllLocalImages = (kBitmaps | kGradientImages)
,
kAllImages = (kBitmaps | kGradientImages | kNestedMovies)
} |
|
enum class | ResourceType {
kCharacterDefBit = 1 << 7
, kNone = 0
, kImage
, kFont
,
kMovieDef
, kSoundSample
, kMovieDataDef = kCharacterDefBit | 0
, kButtonDef
,
kTextDef
, kEditTextDef
, kSpriteDef
, kShapeDef
,
kVideoDef
, kTypeCode_Mask = 0xFF00
, kTypeCode_Shift = 8
} |
|
enum class | ResourceUse {
kNone = 0
, kBitmap = 1
, kGradient = 2
, kFontTexture = 3
,
kSoundSample = 4
, kTypeCode_Mask = 0xFF
} |
|
enum | |
|
enum class | FileFormatType {
kUnopened
, kUnknown
, kSWF
, kGFX
,
kJPEG = 10
, kPNG = 11
, kGIF = 12
, kTGA = 13
,
kDDS = 14
, kHDR = 15
, kBMP = 16
, kDIB = 17
,
kPFM = 18
, kTIFF = 19
, kWAVE = 20
, kNextAvail
,
kOriginal = 65535
} |
|
|
virtual std::uint32_t | GetVersion () const =0 |
|
virtual std::uint32_t | GetLoadingFrame () const =0 |
|
virtual float | GetWidth () const =0 |
|
virtual float | GetHeight () const =0 |
|
virtual std::uint32_t | GetFrameCount () const =0 |
|
virtual float | GetFrameRate () const =0 |
|
virtual GRectF | GetFrameRect () const =0 |
|
virtual std::uint32_t | GetSWFFlags () const =0 |
|
virtual const char * | GetFileURL () const =0 |
|
virtual void | WaitForLoadFinish (bool a_cancel=false) const =0 |
|
virtual void | WaitForFrame (std::uint32_t a_frame) const =0 |
|
virtual std::uint32_t | GetFileAttributes () const =0 |
|
virtual std::uint32_t | GetMetadata (char *a_buff, std::uint32_t a_buffSize) const =0 |
|
virtual GMemoryHeap * | GetLoadDataHeap () const =0 |
|
virtual GMemoryHeap * | GetBindDataHeap () const =0 |
|
virtual GMemoryHeap * | GetImageHeap () const =0 |
|
virtual GFxResource * | GetMovieDataResource () const =0 |
|
virtual const GFxExporterInfo * | GetExporterInfo () const =0 |
|
virtual MemoryContext * | CreateMemoryContext (const char *a_heapName, const MemoryParams &a_memParams, bool a_debugHeap)=0 |
|
virtual GFxMovieView * | CreateInstance1 (MemoryContext *a_memContext, bool a_initFirstFrame=true)=0 |
|
virtual GFxMovieView * | CreateInstance2 (const MemoryParams &a_memParams, bool a_initFirstFrame=true)=0 |
|
virtual void | VisitImportedMovies (ImportVisitor *a_visitor)=0 |
|
virtual void | VisitResources (ResourceVisitor *a_visitor, VisitResourceMask a_visitMask=VisitResourceMask::kAllImages)=0 |
|
virtual GFxResource * | GetResource (const char *a_exportName) const =0 |
|
GFxMovieView * | CreateInstance (bool a_initFirstFrame=true, UPInt a_memoryArena=0) |
|
| GFxResource () |
|
virtual | ~GFxResource () |
|
virtual GFxResourceKey | GetKey () |
|
virtual std::uint32_t | GetResourceTypeCode () const |
|
virtual GFxResourceReport * | GetResourceReport () |
|
void | AddRef () |
|
bool | AddRef_NotZero () |
|
void | Release () |
|
std::int32_t | GetRefCount () const |
|
void | SetOwnerResourceLib (GFxResourceLibBase *a_lib) |
|
ResourceType | GetResourceType () const |
|
ResourceUse | GetResourceUse () const |
|
| GFC_MEMORY_REDEFINE_NEW (GNewOverrideBase, Stat) |
|
virtual | ~GFxStateBag () |
|
virtual void | SetState (GFxState::StateType a_stateType, GFxState *a_state) |
|
virtual GFxState * | GetStateAddRef (GFxState::StateType a_stateType) const |
|
virtual void | GetStatesAddRef (GFxState **a_stateList, const GFxState::StateType *a_stateTypes, std::uint32_t a_count) const |
|
template<class T > |
T * | GetStateAddRef (GFxState::StateType a_state) const |
|
GPtr< GFxState > | GetState (GFxState::StateType a_stateType) const |
|
template<class T > |
GPtr< T > | GetState (GFxState::StateType a_stateType) const |
|