CommonLibSSE NG
Loading...
Searching...
No Matches
RE::GFxMovieDef Class Referenceabstract

#include <GFxMovieDef.h>

Inheritance diagram for RE::GFxMovieDef:
RE::GFxResource RE::GFxStateBag RE::GNewOverrideBase< GStatGroups::kGStat_Default_Mem > RE::GFxFileConstants RE::GFxMovieDefImpl

Classes

struct  ImportVisitor
 
class  MemoryContext
 
class  MemoryContextImpl
 
struct  MemoryParams
 
struct  ResourceVisitor
 

Public Types

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)
}
 
- Public Types inherited from RE::GFxResource
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
}
 
- Public Types inherited from RE::GNewOverrideBase< GStatGroups::kGStat_Default_Mem >
enum  
 
- Public Types inherited from RE::GFxFileConstants
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
}
 

Public Member Functions

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 GMemoryHeapGetLoadDataHeap () const =0
 
virtual GMemoryHeapGetBindDataHeap () const =0
 
virtual GMemoryHeapGetImageHeap () const =0
 
virtual GFxResourceGetMovieDataResource () const =0
 
virtual const GFxExporterInfo * GetExporterInfo () const =0
 
virtual MemoryContextCreateMemoryContext (const char *a_heapName, const MemoryParams &a_memParams, bool a_debugHeap)=0
 
virtual GFxMovieViewCreateInstance (MemoryContext *a_memContext, bool a_initFirstFrame=true)=0
 
virtual GFxMovieViewCreateInstance (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 GFxResourceGetResource (const char *a_exportName) const =0
 
GFxMovieViewCreateInstance (bool a_initFirstFrame=true, UPInt a_memoryArena=0)
 
- Public Member Functions inherited from RE::GFxResource
 GFxResource ()
 
virtual ~GFxResource ()
 
virtual GFxResourceKey GetKey ()
 
virtual std::uint32_t GetResourceTypeCode () const
 
virtual GFxResourceReportGetResourceReport ()
 
void AddRef ()
 
bool AddRef_NotZero ()
 
void Release ()
 
std::int32_t GetRefCount () const
 
void SetOwnerResourceLib (GFxResourceLibBase *a_lib)
 
ResourceType GetResourceType () const
 
ResourceUse GetResourceUse () const
 
- Public Member Functions inherited from RE::GNewOverrideBase< GStatGroups::kGStat_Default_Mem >
 GFC_MEMORY_REDEFINE_NEW (GNewOverrideBase, Stat)
 
- Public Member Functions inherited from RE::GFxStateBag
virtual ~GFxStateBag ()
 
virtual void SetState (GFxState::StateType a_stateType, GFxState *a_state)
 
virtual GFxStateGetStateAddRef (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< GFxStateGetState (GFxState::StateType a_stateType) const
 
template<class T >
GPtr< T > GetState (GFxState::StateType a_stateType) const
 

Additional Inherited Members

- Static Public Member Functions inherited from RE::GFxResource
static std::uint32_t MakeTypeCode (ResourceType a_resourceType, ResourceUse a_resourceUse=ResourceUse::kNone)
 
- Protected Member Functions inherited from RE::GFxStateBag
virtual GFxStateBagGetStateBagImpl () const
 
- Protected Attributes inherited from RE::GFxResource
GAtomicInt< std::int32_t > _refCount
 
std::uint32_t _pad0C
 
GFxResourceLibBase_lib
 

Member Enumeration Documentation

◆ FileAttrFlags

enum RE::GFxMovieDef::FileAttrFlags : std::uint32_t
Enumerator
kUseNetwork 
kHasMetadata 

◆ VisitResourceMask

enum RE::GFxMovieDef::VisitResourceMask : std::uint32_t
Enumerator
kNestedMovies 
kFonts 
kBitmaps 
kGradientImages 
kEditTextFields 
kSounds 
kSprite 
kAllLocalImages 
kAllImages 

Member Function Documentation

◆ CreateInstance() [1/3]

GFxMovieView * RE::GFxMovieDef::CreateInstance ( bool  a_initFirstFrame = true,
UPInt  a_memoryArena = 0 
)

◆ CreateInstance() [2/3]

virtual GFxMovieView * RE::GFxMovieDef::CreateInstance ( const MemoryParams a_memParams,
bool  a_initFirstFrame = true 
)
pure virtual

◆ CreateInstance() [3/3]

virtual GFxMovieView * RE::GFxMovieDef::CreateInstance ( MemoryContext a_memContext,
bool  a_initFirstFrame = true 
)
pure virtual

◆ CreateMemoryContext()

virtual MemoryContext * RE::GFxMovieDef::CreateMemoryContext ( const char *  a_heapName,
const MemoryParams a_memParams,
bool  a_debugHeap 
)
pure virtual

◆ GetBindDataHeap()

virtual GMemoryHeap * RE::GFxMovieDef::GetBindDataHeap ( ) const
pure virtual

◆ GetExporterInfo()

virtual const GFxExporterInfo * RE::GFxMovieDef::GetExporterInfo ( ) const
pure virtual

◆ GetFileAttributes()

virtual std::uint32_t RE::GFxMovieDef::GetFileAttributes ( ) const
pure virtual

◆ GetFileURL()

virtual const char * RE::GFxMovieDef::GetFileURL ( ) const
pure virtual

◆ GetFrameCount()

virtual std::uint32_t RE::GFxMovieDef::GetFrameCount ( ) const
pure virtual

◆ GetFrameRate()

virtual float RE::GFxMovieDef::GetFrameRate ( ) const
pure virtual

◆ GetFrameRect()

virtual GRectF RE::GFxMovieDef::GetFrameRect ( ) const
pure virtual

◆ GetHeight()

virtual float RE::GFxMovieDef::GetHeight ( ) const
pure virtual

◆ GetImageHeap()

virtual GMemoryHeap * RE::GFxMovieDef::GetImageHeap ( ) const
pure virtual

◆ GetLoadDataHeap()

virtual GMemoryHeap * RE::GFxMovieDef::GetLoadDataHeap ( ) const
pure virtual

◆ GetLoadingFrame()

virtual std::uint32_t RE::GFxMovieDef::GetLoadingFrame ( ) const
pure virtual

◆ GetMetadata()

virtual std::uint32_t RE::GFxMovieDef::GetMetadata ( char *  a_buff,
std::uint32_t  a_buffSize 
) const
pure virtual

◆ GetMovieDataResource()

virtual GFxResource * RE::GFxMovieDef::GetMovieDataResource ( ) const
pure virtual

◆ GetResource()

virtual GFxResource * RE::GFxMovieDef::GetResource ( const char *  a_exportName) const
pure virtual

◆ GetSWFFlags()

virtual std::uint32_t RE::GFxMovieDef::GetSWFFlags ( ) const
pure virtual

◆ GetVersion()

virtual std::uint32_t RE::GFxMovieDef::GetVersion ( ) const
pure virtual

◆ GetWidth()

virtual float RE::GFxMovieDef::GetWidth ( ) const
pure virtual

◆ VisitImportedMovies()

virtual void RE::GFxMovieDef::VisitImportedMovies ( ImportVisitor a_visitor)
pure virtual

◆ VisitResources()

virtual void RE::GFxMovieDef::VisitResources ( ResourceVisitor a_visitor,
VisitResourceMask  a_visitMask = VisitResourceMask::kAllImages 
)
pure virtual

◆ WaitForFrame()

virtual void RE::GFxMovieDef::WaitForFrame ( std::uint32_t  a_frame) const
pure virtual

◆ WaitForLoadFinish()

virtual void RE::GFxMovieDef::WaitForLoadFinish ( bool  a_cancel = false) const
pure virtual

The documentation for this class was generated from the following file: