#include <xsi_hardwaresurface.h>
HardwareSurface class used for encapsulating a 2D shader texture surface.
 
 | Classes | |
| class | Options | 
| This class represents the options used for
creating 
HardwareSurface objects. More... | |
| Public Member Functions | |
| HardwareSurface () | |
| ~HardwareSurface () | |
| HardwareSurface (const CRef &in_ref) | |
| HardwareSurface (const HardwareSurface &in_obj) | |
| bool | IsA (siClassID in_ClassID) const | 
| siClassID | GetClassID () const | 
| HardwareSurface & | operator= (const HardwareSurface &in_obj) | 
| HardwareSurface & | operator= (const CRef &in_ref) | 
| void * | GetInterface () | 
| HardwareSurface | ( | ) | 
Default constructor.
| ~HardwareSurface | ( | ) | 
Default destructor.
| HardwareSurface | ( | const CRef & | in_ref | ) | 
Constructor.
| in_ref | constant reference object. | 
| HardwareSurface | ( | const HardwareSurface & | in_obj | ) | 
Copy constructor.
| in_obj | constant class object. | 
| bool IsA | ( | siClassID | in_ClassID | ) | const [virtual] | 
Returns true if a given class type is compatible with this API class.
| in_ClassID | class type. | 
Reimplemented from SIObject.
| siClassID GetClassID | ( | ) | const [virtual] | 
| HardwareSurface& operator= | ( | const HardwareSurface & | in_obj | ) | 
Creates an object from another object. The newly created object is set to empty if the input object is not compatible.
| in_obj | constant class object. | 
| HardwareSurface& operator= | ( | const CRef & | in_ref | ) | 
Creates an object from a reference object. The newly created object is set to empty if the input reference object is not compatible.
| in_ref | constant class object. | 
Reimplemented from SIObject.
| void* GetInterface | ( | ) | 
Returns a void* which represents the interface to the Graphics API. For OpenGL, the returned pointer should be casted to a GLuint which represents the texture object. For DirectX9, it should be casted to a IDirectX9Texture.