Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
FakeTexture.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 System;
4 
5 namespace SiliconStudio.Paradox.Graphics
6 {
7  public partial class FakeTexture : Texture
8  {
9  public FakeTexture()
10  {
11  }
12 
13  public override Texture ToTexture(ViewType viewType, int arraySlice, int mipMapSlice)
14  {
15  throw new NotImplementedException();
16  }
17 
18  public override Texture Clone()
19  {
20  throw new NotImplementedException();
21  }
22 
23  public override Texture ToStaging()
24  {
25  throw new NotImplementedException();
26  }
27  }
28 
29  /// <summary>Fake 2D texture (URL should point to Image).</summary>
30  public class FakeTexture2D : Texture2D
31  {
32  public FakeTexture2D()
33  {
34  }
35  }
36 }
override Texture Clone()
Makes a copy of this texture.
Definition: FakeTexture.cs:18
override Texture ToTexture(ViewType viewType, int arraySlice, int mipMapSlice)
Gets a view on this texture for a particular ViewType, array index (or zIndex for Texture3D)...
Definition: FakeTexture.cs:13
Fake 2D texture (URL should point to Image).
Definition: FakeTexture.cs:30
override Texture ToStaging()
Return an equivalent staging texture CPU read-writable from this instance.
Definition: FakeTexture.cs:23
ViewType
Defines how a view is selected from a resource.
Definition: ViewType.cs:31
A Texture 2D frontend to SharpDX.Direct3D11.Texture2D.
Definition: Texture2D.cs:37
Base class for texture resources.
Definition: Texture.cs:38