mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-23 22:12:01 +00:00
1f554c1093
* Renaming part 1 * Renaming part 2 * Renaming part 3 * Renaming part 4 * Renaming part 5 * Renaming part 6 * Renaming part 7 * Renaming part 8 * Renaming part 9 * Renaming part 10 * General cleanup * Thought I got all of these * Apply #595 * Additional renaming * Tweaks from feedback * Rename files
27 lines
741 B
C#
27 lines
741 B
C#
using Ryujinx.Graphics.Texture;
|
|
|
|
namespace Ryujinx.Graphics.Gal.OpenGL
|
|
{
|
|
class ImageHandler
|
|
{
|
|
public GalImage Image { get; private set; }
|
|
|
|
public int Width => Image.Width;
|
|
public int Height => Image.Height;
|
|
public int Depth => Image.Depth;
|
|
|
|
public GalImageFormat Format => Image.Format;
|
|
|
|
public int Handle { get; private set; }
|
|
|
|
public bool HasColor => ImageUtils.HasColor(Image.Format);
|
|
public bool HasDepth => ImageUtils.HasDepth(Image.Format);
|
|
public bool HasStencil => ImageUtils.HasStencil(Image.Format);
|
|
|
|
public ImageHandler(int handle, GalImage image)
|
|
{
|
|
Handle = handle;
|
|
Image = image;
|
|
}
|
|
}
|
|
}
|