Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Paradox.Graphics.RenderTarget Class Reference

A renderable texture view. More...

Inheritance diagram for SiliconStudio.Paradox.Graphics.RenderTarget:
SiliconStudio.Paradox.Graphics.GraphicsResourceBase SiliconStudio.Core.ComponentBase SiliconStudio.Core.IComponent SiliconStudio.Core.ICollectorHolder SiliconStudio.Core.IReferencable SiliconStudio.Core.IReferencable

Static Public Member Functions

static implicit operator Texture (RenderTarget renderTarget)
 Performs an implicit conversion from RenderTarget to Texture. More...
 

Public Attributes

readonly TextureDescription Description
 
readonly Texture Texture
 The underlying texture. More...
 
int Width
 Gets the width in texel. More...
 
int Height
 Gets the height in texel. More...
 
readonly PixelFormat ViewFormat
 The format of this texture view. More...
 
readonly ViewType ViewType
 The format of this texture view. More...
 
readonly int MipLevel
 The miplevel index of this texture view. More...
 
readonly int ArraySlice
 The array index of this texture view. More...
 
- Public Attributes inherited from SiliconStudio.Paradox.Graphics.GraphicsResourceBase
Action< GraphicsResourceBaseReload
 
- Public Attributes inherited from SiliconStudio.Core.ComponentBase
PropertyContainer Tags
 Gets the attached properties to this component. More...
 

Protected Member Functions

override void Destroy ()
 Disposes of object resources. More...
 
- Protected Member Functions inherited from SiliconStudio.Paradox.Graphics.GraphicsResourceBase
 GraphicsResourceBase ()
 Initializes a new instance of the GraphicsResourceBase class. More...
 
 GraphicsResourceBase (GraphicsDevice device)
 Initializes a new instance of the GraphicsResourceBase class. More...
 
 GraphicsResourceBase (GraphicsDevice device, string name)
 Initializes a new instance of the GraphicsResourceBase class. More...
 
- Protected Member Functions inherited from SiliconStudio.Core.ComponentBase
 ComponentBase ()
 Initializes a new instance of the ComponentBase class. More...
 
 ComponentBase (string name)
 Initializes a new instance of the ComponentBase class. More...
 
virtual void OnNameChanged ()
 Called when Name property was changed. More...
 

Additional Inherited Members

- Public Member Functions inherited from SiliconStudio.Core.ComponentBase
void Dispose ()
 
override string ToString ()
 
- Properties inherited from SiliconStudio.Paradox.Graphics.GraphicsResourceBase
GraphicsDevice GraphicsDevice [get, set]
 Gets the graphics device attached to this instance. More...
 
- Properties inherited from SiliconStudio.Core.ComponentBase
long Id [get, set]
 
string Name [get, set]
 Gets or sets the name of this component. More...
 
bool IsDisposed [get, set]
 Has the component been disposed or not yet. More...
 
- Properties inherited from SiliconStudio.Core.IComponent
long Id [get]
 Gets the id of this component. More...
 
string Name [get]
 Gets the name of this component. More...
 
- Properties inherited from SiliconStudio.Core.IReferencable
int ReferenceCount [get]
 Gets the reference count of this instance. More...
 
- Properties inherited from SiliconStudio.Core.ICollectorHolder
ObjectCollector Collector [get]
 Gets the collector. More...
 

Detailed Description

A renderable texture view.

Definition at line 10 of file RenderTarget.cs.

Member Function Documentation

override void SiliconStudio.Paradox.Graphics.RenderTarget.Destroy ( )
protectedvirtual

Disposes of object resources.

Reimplemented from SiliconStudio.Paradox.Graphics.GraphicsResourceBase.

Definition at line 51 of file RenderTarget.cs.

static implicit SiliconStudio.Paradox.Graphics.RenderTarget.operator Texture ( RenderTarget  renderTarget)
static

Performs an implicit conversion from RenderTarget to Texture.

Parameters
renderTargetThe render target.
Returns
The result of the conversion.

Definition at line 62 of file RenderTarget.cs.

Member Data Documentation

readonly int SiliconStudio.Paradox.Graphics.RenderTarget.ArraySlice

The array index of this texture view.

Definition at line 49 of file RenderTarget.cs.

readonly TextureDescription SiliconStudio.Paradox.Graphics.RenderTarget.Description

Definition at line 12 of file RenderTarget.cs.

int SiliconStudio.Paradox.Graphics.RenderTarget.Height
readonly int SiliconStudio.Paradox.Graphics.RenderTarget.MipLevel

The miplevel index of this texture view.

Definition at line 44 of file RenderTarget.cs.

readonly Texture SiliconStudio.Paradox.Graphics.RenderTarget.Texture
readonly PixelFormat SiliconStudio.Paradox.Graphics.RenderTarget.ViewFormat

The format of this texture view.

Definition at line 34 of file RenderTarget.cs.

readonly ViewType SiliconStudio.Paradox.Graphics.RenderTarget.ViewType

The format of this texture view.

Definition at line 39 of file RenderTarget.cs.

int SiliconStudio.Paradox.Graphics.RenderTarget.Width

Gets the width in texel.

The width.

Definition at line 23 of file RenderTarget.cs.

Referenced by SiliconStudio.Paradox.UI.UISystem.Initialize(), and SiliconStudio.Paradox.Effects.BackgroundRenderer.OnRendering().


The documentation for this class was generated from the following file: