3 #if SILICONSTUDIO_PARADOX_GRAPHICS_API_OPENGL
6 using System.Runtime.InteropServices;
9 #if SILICONSTUDIO_PARADOX_GRAPHICS_API_OPENGLES
10 using OpenTK.Graphics.ES30;
13 using OpenTK.Graphics.OpenGL;
17 namespace SiliconStudio.
Paradox.Graphics
24 protected internal Texture3D(GraphicsDevice device, TextureDescription description3D, DataBox[] dataBoxes = null) : base(device, description3D,
ViewType.
Full, 0, 0)
26 #if SILICONSTUDIO_PARADOX_GRAPHICS_API_OPENGLES
27 throw new NotImplementedException();
29 Target = TextureTarget.Texture3D;
33 protected internal Texture3D(GraphicsDevice device, Texture3D texture) : base(device, texture,
ViewType.
Full, 0, 0)
35 #if SILICONSTUDIO_PARADOX_GRAPHICS_API_OPENGLES
36 throw new NotImplementedException();
38 Target = TextureTarget.Texture3D;
42 public override Texture ToTexture(
ViewType viewType,
int arraySlice,
int mipMapSlice)
45 if (viewType !=
ViewType.Full || arraySlice != 0 || mipMapSlice != 0)
46 throw new NotImplementedException();
48 return new Texture3D(GraphicsDevice,
this);
ViewType
Defines how a view is selected from a resource.
Same as Deferred mode, except sprites are sorted by texture prior to drawing. This can improve perfor...
Gets a texture view for the whole texture for all mips/arrays dimensions.
The texture dimension is 3D.
PixelFormat
Defines various types of pixel formats.