|
|
|
|
Reference: Muli3D: IMuli3DPresentTarget Class Reference
IMuli3DPresentTarget Class Reference#include <m3dcore_presenttarget.h>
Inheritance diagram for IMuli3DPresentTarget:
List of all members.
Detailed Description
Present-targets provide the base for platform-independet rendering output to the screen.
Constructor & Destructor Documentation
|
Accessible by IBase. The destructor is called when the reference count reaches zero.
|
IMuli3DPresentTarget::IMuli3DPresentTarget |
( |
class CMuli3DDevice * |
i_pParent |
) |
[protected] |
|
|
Present-target constructor. - Parameters:
-
[in] | i_pParent | a pointer to the parent CMuli3DDevice-object. |
|
Member Function Documentation
virtual result IMuli3DPresentTarget::Create |
( |
|
) |
[pure virtual] |
|
|
Creates and initializes the presenttarget. - Returns:
- s_ok if the function succeeds.
e_invalidparameters if one or more parameters were invalid.
e_unknown if a presenttarget-specific problem was encountered.
|
|
Returns a pointer to the associated device. Calling this function will increase the internal reference count of the device. Failure to call Release() when finished using the pointer will result in a memory leak.
|
virtual result IMuli3DPresentTarget::Present |
( |
const float32 * |
i_pSource, |
|
|
uint32 |
i_iFloats |
|
) |
[pure virtual] |
|
|
Presents the contents of a given rendertarget's colorbuffer. - Parameters:
-
[in] | i_pSource | pointer to the data of the colorbuffer to be presented (backbuffer dimensions). |
[in] | i_iFloats | format of the data (number of float32s). |
- Returns:
- s_ok if the function succeeds.
e_invalidparameters if one or more parameters were invalid.
e_invalidformat if an invalid format was encountered.
e_invalidstate if an invalid state was encountered.
e_unknown if a present-target related problem was encountered.
|
Member Data Documentation
|
|