blob: a818f73aad7954551f2554c3c5ff727f28e37f13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
using System;
namespace Ryujinx.Graphics.GAL
{
public interface ITexture : IDisposable
{
void CopyTo(ITexture destination, int firstLayer, int firstLevel);
void CopyTo(ITexture destination, Extents2D srcRegion, Extents2D dstRegion, bool linearFilter);
ITexture CreateView(TextureCreateInfo info, int firstLayer, int firstLevel);
byte[] GetData();
void SetData(ReadOnlySpan<byte> data);
void SetStorage(BufferRange buffer);
}
}
|