OmegaEngine API
1.0.3
|
Provides an in-memory area to render to instead of directly painting on the screen. More...
Public Member Functions | |
RenderTarget (Engine engine, Size size) | |
Creates a new render target texture wrapper More... | |
void | HoldReference () |
Is ignored. More... | |
void | ReleaseReference () |
Is ignored. More... | |
void | Dispose () |
Disposes the Texture this object wraps More... | |
Static Public Member Functions | |
static implicit | operator Texture (RenderTarget renderTarget) |
Convert a RenderTarget into its contained SlimDX.Direct3D9.Texture. More... | |
Properties | |
Texture | Texture [get] |
The texture containing the rendered content. More... | |
bool | Disposed [get] |
Was this object already disposed? More... | |
Properties inherited from OmegaEngine.Graphics.ITextureProvider | |
Texture | Texture [get] |
The SlimDX.Direct3D9.Texture this object represents. More... | |
Properties inherited from OmegaEngine.Collections.IPoolable< RenderTarget > | |
T | NextElement [get, set] |
A reference to the next element in the Pool<T> chain. More... | |
Provides an in-memory area to render to instead of directly painting on the screen.
Lost devices are automatically handled.
|
inline |
Creates a new render target texture wrapper
engine | The OmegaEngine.Engine to store the texture in |
size | The size of the texture - leave empty for fullscreen |
|
inline |
Disposes the Texture this object wraps
|
inline |
Is ignored.
Implements OmegaEngine.Assets.IReferenceCount.
|
inlinestatic |
Convert a RenderTarget into its contained SlimDX.Direct3D9.Texture.
|
inline |
Is ignored.
Implements OmegaEngine.Assets.IReferenceCount.
|
get |
Was this object already disposed?
|
get |
The texture containing the rendered content.