Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
DepthStencilBuffer.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using SiliconStudio.Core.ReferenceCounting;
4 
5 namespace SiliconStudio.Paradox.Graphics
6 {
7  /// <summary>
8  /// Depth stencil buffer
9  /// </summary>
11  {
12  internal TextureDescription DescriptionInternal;
13 
14  public TextureDescription Description
15  {
16  get { return DescriptionInternal; }
17  }
18 
19  public readonly Texture2D Texture;
20 
21  protected override void Destroy()
22  {
23  base.Destroy();
24  Texture.ReleaseInternal();
25  }
26  }
27 }
A Common description for all textures.
A Texture 2D frontend to SharpDX.Direct3D11.Texture2D.
Definition: Texture2D.cs:37
override void Destroy()
Disposes of object resources.