SResourceAsync

C++
struct SResourceAsync {
  int nReady;
  byte * pData;
  EResClassName eClassName;
  char * Name;
  union {
    struct {
      int nWidth, nHeight, nMips, nTexFlags, nFormat, nTexId;
    };
    struct {
      int nShaderFlags;
    };
  };
  void * pResource;
};
File

IShader.h

Description

className: CTexture, CHWShader_VS, CHWShader_PS, CShader

SResourceAsync::eClassName Data Member
C++
EResClassName eClassName;
Description

Resource class name

SResourceAsync::Name Data Member
C++
char * Name;
Description

Resource name

SResourceAsync::nReady Data Member
C++
int nReady;
Description

0: Not ready; 1: Ready; -1: Error

SResourceAsync::pData Data Member
C++
byte * pData;
SResourceAsync::pResource Data Member
C++
void * pResource;
Description

Pointer to created resource

SResourceAsync::~SResourceAsync Destructor
C++
SResourceAsync::SResourceAsync Constructor
C++
SResourceAsync();