|
virtual Interface_ID | GetID () |
|
virtual LifetimeType | LifetimeControl () |
|
virtual int | GetMaxTexStages ()=0 |
|
virtual int | GetNumActiveWindows ()=0 |
|
virtual bool | UpdateScreen (GFX_ESCAPE_FN fn)=0 |
|
virtual bool | CanDepthPeel ()=0 |
|
virtual void | CreateLayer (int layerNum)=0 |
|
virtual void | BlendLayers ()=0 |
|
virtual void | StartNode ()=0 |
|
virtual void | EndNode (GFX_ESCAPE_FN fn)=0 |
|
virtual void | SetColor (ColorType t, D3DXCOLOR *pClr)=0 |
|
virtual void | SetMaterial (HardwareMaterial *pMtl)=0 |
|
virtual D3DXCOLOR * | GetDiffuseColor ()=0 |
|
virtual bool | DisplayAllTriangleEdges ()=0 |
|
virtual void | SetDisplayAllTriangleEdges (bool displayAllEdges)=0 |
|
virtual bool | CanCacheMeshData ()=0 |
|
virtual void | DrawMesh (DWORD type, DWORD nPrim, DWORD *pAttr, DWORD nComp, DWORD *pUse, DWORD **ppInd, DWORD fComp, DWORD *pLen, float **ppData, DWORD attr, GFX_ESCAPE_FN fn)=0 |
|
virtual DWORD_PTR | BuildMesh (DWORD nFaces, DWORD *pAttr, DWORD nComp, DWORD *pUse, DWORD **ppInd, DWORD fComp, DWORD *pLen, float **ppData, GFX_ESCAPE_FN fn)=0 |
|
virtual DWORD_PTR | BuildMesh (IHardwareMesh *pHWMesh, GFX_ESCAPE_FN fn)=0 |
|
virtual void | DrawMesh (DWORD_PTR pMesh, DWORD attr, GFX_ESCAPE_FN fn)=0 |
|
virtual DWORD_PTR | LoadMesh (LPCMSTR filename)=0 |
|
virtual void | SaveMesh (LPCMSTR filename, DWORD_PTR pMesh)=0 |
|
virtual void | FreeMesh (DWORD_PTR pMesh)=0 |
|
virtual DWORD_PTR | BuildIndexedBuffer (DWORD type, DWORD nPrim, DWORD *pAttr, DWORD nComp, DWORD *pUse, DWORD **ppInd, DWORD fComp, DWORD *pLen, float **ppData, GFX_ESCAPE_FN fn)=0 |
|
virtual void | DrawIndexedBuffer (DWORD_PTR pBuffer, DWORD attr, GFX_ESCAPE_FN fn)=0 |
|
virtual void | FreeIndexedBuffer (DWORD_PTR pBuffer)=0 |
|
virtual DWORD_PTR | BuildTexture (BITMAPINFO *bmi, UINT mipLevels, DWORD usage, DWORD format)=0 |
|
virtual DWORD_PTR | LoadTexture (LPCMSTR filename)=0 |
|
virtual void | SaveTexture (LPCMSTR filename, DWORD_PTR pTex)=0 |
|
virtual void | FreeTexture (DWORD_PTR pTex)=0 |
|
virtual DWORD_PTR | BuildCubeMap (UINT size, UINT mipLevels, DWORD usage, DWORD format, DWORD_PTR *pTex)=0 |
|
virtual void | SetCubeMapFace (DWORD_PTR pCubeMap, DWORD face, UINT mipLevel, DWORD_PTR pTex)=0 |
|
virtual DWORD_PTR | BuildVertexDecl (DWORD nComp, DWORD *pUse, DWORD fComp)=0 |
|
virtual void | SetVertexDecl (DWORD_PTR pVertexDecl)=0 |
|
virtual void | FreeVertexDecl (DWORD_PTR pVertexDecl)=0 |
|
virtual DWORD_PTR | BuildVertexShader (LPCSTR code)=0 |
|
virtual DWORD_PTR | LoadVertexShader (LPCMSTR filename)=0 |
|
virtual void | SaveVertexShader (LPCMSTR filename, DWORD_PTR pVertexShader)=0 |
|
virtual void | SetVertexShader (DWORD_PTR pVertexShader)=0 |
|
virtual void | SetVertexShaderConstant (DWORD_PTR pVertexShader, DWORD nReg, DWORD type, void *pData, DWORD nData)=0 |
|
virtual void | FreeVertexShader (DWORD_PTR pVertexShader)=0 |
|
virtual DWORD_PTR | BuildPixelShader (LPCSTR code)=0 |
|
virtual DWORD_PTR | LoadPixelShader (LPCMSTR filename)=0 |
|
virtual void | SavePixelShader (LPCMSTR filename, DWORD_PTR pPixelShader)=0 |
|
virtual void | SetPixelShader (DWORD_PTR pPixelShader)=0 |
|
virtual void | SetPixelShaderConstant (DWORD_PTR pPixelShader, DWORD nReg, DWORD type, void *pData, DWORD nData)=0 |
|
virtual void | FreePixelShader (DWORD_PTR pPixelShader)=0 |
|
virtual DWORD_PTR | BuildEffect (LPCSTR code)=0 |
|
virtual DWORD_PTR | LoadEffect (LPCMSTR filename)=0 |
|
virtual void | SaveEffect (LPCMSTR filename, DWORD_PTR pEffect)=0 |
|
virtual void | SetEffectParameter (DWORD_PTR pEffect, LPCMSTR name, DWORD type, void *pData)=0 |
|
virtual void | SetEffectTechnique (DWORD_PTR pEffect, LPCMSTR name)=0 |
|
virtual void | BeginEffect (DWORD_PTR pEffect)=0 |
|
virtual void | SetEffectPass (DWORD_PTR pEffect, DWORD nPass)=0 |
|
virtual void | EndEffect (DWORD_PTR pEffect)=0 |
|
virtual void | FreeEffect (DWORD_PTR pEffect)=0 |
|
virtual DWORD_PTR | BeginEffectAccess (DWORD_PTR pEffect, GFX_ESCAPE_FN fn)=0 |
|
virtual void | EndEffectAccess (GFX_ESCAPE_FN fn)=0 |
|
virtual DWORD_PTR | BeginDeviceAccess (GFX_ESCAPE_FN fn)=0 |
|
virtual void | EndDeviceAccess (GFX_ESCAPE_FN fn)=0 |
|
virtual bool | ObjectDrawnByShader ()=0 |
| This tells the mesh / mnmesh classes whether a shader has performed the drawing already so it can simply ignore the draw call.
|
|
virtual void | DXCacheUpdateVertexBuffer (DWORD_PTR pMesh, Point3 *vertexList, Point3 *gfxNormalList, Point3 *faceNormalList, BitArray &changedVerts, int count)=0 |
| This method lets you update the vertex positions of the DirectX mesh cache.
|
|
virtual Interface_ID | GetID () |
|
virtual Interface_ID | GetVSID ()=0 |
|
virtual Interface_ID | GetPSID ()=0 |
|
virtual LifetimeType | LifetimeControl () |
|
virtual void | StartObject (Mesh *mesh)=0 |
|
virtual void | StartObject (MNMesh *mnmesh)=0 |
|
virtual void | InitializeShaders (Mesh *mesh, BaseInterface *pbvs, Material *mtlArray, int numMtl, GFX_ESCAPE_FN fn)=0 |
|
virtual void | InitializeShaders (MNMesh *mnmesh, BaseInterface *pbvs, Material *mtlArray, int numMtl, GFX_ESCAPE_FN fn)=0 |
|
virtual bool | CanTryStrips ()=0 |
|
virtual DWORD | GetRndMode ()=0 |
|
virtual Material * | GetMaterial (int numMat)=0 |
|
virtual void | SetMaterial (const Material &m, int index=0)=0 |
|
virtual int | GetNumMultiPass (int numMtl)=0 |
|
virtual void | SetNumMultiPass (int numPass)=0 |
|
virtual void | DrawMeshStrips (MeshData *data, GFX_ESCAPE_FN fn)=0 |
|
virtual void | DrawWireMesh (WireMeshData *data, GFX_ESCAPE_FN fn)=0 |
|
virtual void | StartLines (WireMeshData *data)=0 |
|
virtual void | AddLine (DWORD *vert, int vis)=0 |
|
virtual void | DrawLines ()=0 |
|
virtual void | EndLines (GFX_ESCAPE_FN fn)=0 |
|
virtual void | StartTriangles (MeshFaceData *data)=0 |
|
virtual void | AddTriangle (DWORD index, int *edgeVis)=0 |
|
virtual void | DrawTriangles ()=0 |
|
virtual void | EndTriangles (GFX_ESCAPE_FN fn)=0 |
|
virtual void | EndObject (Mesh *mesh)=0 |
|
virtual void | EndObject (MNMesh *mnmesh)=0 |
|
virtual UtilExport | ~BaseInterface () |
| Destructor.
|
|
UtilExport BaseInterface * | GetInterface (Interface_ID id) override |
|
virtual UtilExport Interface_ID | GetID () |
|
virtual LifetimeType | LifetimeControl () |
|
virtual bool | RegisterNotifyCallback (InterfaceNotifyCallback *incb) |
|
virtual void | UnRegisterNotifyCallback (InterfaceNotifyCallback *incb) |
|
virtual BaseInterface * | AcquireInterface () |
|
virtual void | ReleaseInterface () |
|
virtual void | DeleteInterface () |
|
virtual BaseInterface * | CloneInterface (void *remapDir=nullptr) |
|
virtual UtilExport | ~InterfaceServer () |
| Destructor.
|
|
virtual UtilExport BaseInterface * | GetInterface (Interface_ID id) |
|
template<class InterfaceType > |
InterfaceType * | GetTypedInterface () |
|
|
enum | LifetimeType { noRelease
, immediateRelease
, wantsRelease
, serverControlled
} |
|
static UtilExport void * | operator new (size_t size) |
| Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown.
|
|
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e) |
| Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned.
|
|
static UtilExport void * | operator new (size_t size, const char *filename, int line) |
| New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown.
|
|
static UtilExport void * | operator new (size_t size, int block_type, const char *filename, int line) |
| New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown.
|
|
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, const char *filename, int line) |
| New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned.
|
|
static UtilExport void * | operator new (size_t size, unsigned long flags) |
| New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown.
|
|
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, unsigned long flags) |
| New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned.
|
|
static UtilExport void * | operator new[] (size_t size) |
| New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown.
|
|
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e) |
| New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned.
|
|
static UtilExport void * | operator new[] (size_t size, const char *filename, int line) |
| New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown.
|
|
static UtilExport void * | operator new[] (size_t size, int block_type, const char *filename, int line) |
| New operator used to allocate arrays of objects.
|
|
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line) |
| New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned.
|
|
static UtilExport void * | operator new[] (size_t size, unsigned long flags) |
| New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown.
|
|
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, unsigned long flags) |
| New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned.
|
|
static UtilExport void | operator delete (void *ptr) |
| Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown.
|
|
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e) |
| Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen.
|
|
static UtilExport void | operator delete (void *ptr, const char *filename, int line) |
| Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown.
|
|
static UtilExport void | operator delete (void *ptr, int block_type, const char *filename, int line) |
| Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown.
|
|
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
| Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen.
|
|
static UtilExport void | operator delete (void *ptr, unsigned long flags) |
| Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown.
|
|
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags) |
| Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen.
|
|
static UtilExport void | operator delete[] (void *ptr) |
| Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown.
|
|
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e) |
| Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen.
|
|
static UtilExport void | operator delete[] (void *ptr, const char *filename, int line) |
| Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown.
|
|
static UtilExport void | operator delete[] (void *ptr, int block_type, const char *filename, int line) |
| Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown.
|
|
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
| Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen.
|
|
static UtilExport void | operator delete[] (void *ptr, unsigned long flags) |
| Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown.
|
|
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags) |
| Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown.
|
|
static UtilExport void * | operator new (size_t size, void *placement_ptr) |
| Placement new operator.
|
|
static UtilExport void | operator delete (void *ptr, void *placement_ptr) |
| Placement delete operator.
|
|
static UtilExport void * | aligned_malloc (size_t size, size_t alignment) |
| Allocates memory on a specified alignment boundary.
|
|
static UtilExport void * | aligned_realloc (void *ptr, size_t size, size_t alignment) |
| Reallocates memory on a specified alignment boundary.
|
|
static UtilExport void | aligned_free (void *ptr) |
| Frees a block of memory that was allocated with aligned_malloc/aligned_realloc.
|
|