cs sdk v 1.14 released

Home  |  Product  |  Documents  |  Tutorials  |  FAQ |   Download  |   Forum |   Contacts  |   Link  


  Cross Suit

 Cross Suit SDK

 Documents
      classes
 Starting...
           Tutorials

 LUA tutorials

   Support

  Forum
  q&a

 Product parts

 Virtual File system

 Virtual Render
 Virtual Machine
   

  Demo Games

   

 3D Engine

  gvSystem(dx9)

 Link

 

 

gm_texture Class Reference

#include <gm_texture.h>

Collaboration diagram for gm_texture:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 gm_texture (void)
 ~gm_texture (void)
void EnableCache (bool bflag=true)
bool Charge (void)
bool UnCharge (void)
void unload (void)
bool LoadTexture (char *szFileName, bool bCompressCache=false)
bool LoadAniTexture (char *szFileName)
bool create (int wsize, int hsize, char *szFileName)
gm_texture_infocreate_internal (int &wsize, int &hsize, char *szFileName)
void * GetTexDX9 (void)
void * GetTexFirstFrame (void)
bool bindtexFirstFrame (void)
bool bindtex (void)
void resetStop (void)
bool bind (void)
void SetAniFrameRange (int na, int nb)
int MakeMovie (void)

Static Public Member Functions

static gm_texture_infotexturehandleMapFind (char *szFileName)
static void texturehandleMapSet (char *szFileName, gm_texture_info *pHandle)
static void texturehandleMapClear (void)
static bool textureandleMapRemove (char *szFileName)
static bool textureandleMapRemove (gm_texture_info *p)

Public Attributes

bool mLocalCacheCompressed
bool mbAbleBind
bool m_bAlpha
bool m_bIsAnimationTexture
bool m_bAvi
int m_nLoop
bool m_bLoopEndFirst
int m_iCurFrame
float m_fDelayTime
float m_fFPS
float m_fOldTime
int m_iOldCurFrame
int m_iStartFrame
int m_iEndFrame
int m_iTotalFrame
int bpp
char m_szTexID [128]
bool m_bIsLoaded
gm_texture_avim_pAviTexture
int m_w
int m_h
simple_vector4 tex_mul
gv_texture_atm * m_pATM
long MovieFirstSeek
bool m_bMovieGenerated

Private Attributes

gm_texture_infom_tex_handle_info
geArray< gm_texture_info * > m_pTexList

Static Private Attributes

static std::map< gvStringc,
gm_texture_info * > 
texturehandleMap

Detailed Description

Definition at line 94 of file gm_texture.h.


Constructor & Destructor Documentation

gm_texture::gm_texture ( void   ) 

gm_texture::~gm_texture ( void   ) 


Member Function Documentation

void gm_texture::EnableCache ( bool  bflag = true  ) 

bool gm_texture::Charge ( void   ) 

bool gm_texture::UnCharge ( void   ) 

void gm_texture::unload ( void   ) 

static gm_texture_info* gm_texture::texturehandleMapFind ( char *  szFileName  )  [static]

static void gm_texture::texturehandleMapSet ( char *  szFileName,
gm_texture_info pHandle 
) [static]

static void gm_texture::texturehandleMapClear ( void   )  [static]

static bool gm_texture::textureandleMapRemove ( char *  szFileName  )  [static]

static bool gm_texture::textureandleMapRemove ( gm_texture_info p  )  [static]

bool gm_texture::LoadTexture ( char *  szFileName,
bool  bCompressCache = false 
)

bool gm_texture::LoadAniTexture ( char *  szFileName  ) 

bool gm_texture::create ( int  wsize,
int  hsize,
char *  szFileName 
)

gm_texture_info* gm_texture::create_internal ( int &  wsize,
int &  hsize,
char *  szFileName 
)

void* gm_texture::GetTexDX9 ( void   ) 

void* gm_texture::GetTexFirstFrame ( void   ) 

bool gm_texture::bindtexFirstFrame ( void   ) 

bool gm_texture::bindtex ( void   ) 

void gm_texture::resetStop ( void   ) 

bool gm_texture::bind ( void   ) 

void gm_texture::SetAniFrameRange ( int  na,
int  nb 
)

int gm_texture::MakeMovie ( void   ) 


Member Data Documentation

Definition at line 97 of file gm_texture.h.

std::map<gvStringc, gm_texture_info* > gm_texture::texturehandleMap [static, private]

Definition at line 99 of file gm_texture.h.

Definition at line 101 of file gm_texture.h.

Definition at line 108 of file gm_texture.h.

Definition at line 109 of file gm_texture.h.

Definition at line 111 of file gm_texture.h.

Definition at line 112 of file gm_texture.h.

Definition at line 113 of file gm_texture.h.

Definition at line 114 of file gm_texture.h.

Definition at line 115 of file gm_texture.h.

Definition at line 116 of file gm_texture.h.

Definition at line 117 of file gm_texture.h.

Definition at line 118 of file gm_texture.h.

Definition at line 120 of file gm_texture.h.

Definition at line 121 of file gm_texture.h.

Definition at line 122 of file gm_texture.h.

Definition at line 123 of file gm_texture.h.

Definition at line 124 of file gm_texture.h.

Definition at line 127 of file gm_texture.h.

Definition at line 128 of file gm_texture.h.

Definition at line 129 of file gm_texture.h.

Definition at line 132 of file gm_texture.h.

Definition at line 133 of file gm_texture.h.

Definition at line 135 of file gm_texture.h.

gv_texture_atm* gm_texture::m_pATM

Definition at line 165 of file gm_texture.h.

Definition at line 166 of file gm_texture.h.

Definition at line 167 of file gm_texture.h.


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

Copyright(C) gvSystem & GamePlus All Rights Reserved.