2019-12-29 12:41:50 -05:00
|
|
|
namespace Ryujinx.Graphics.GAL
|
2019-10-13 02:02:07 -04:00
|
|
|
{
|
|
|
|
public enum Target
|
|
|
|
{
|
|
|
|
Texture1D,
|
|
|
|
Texture2D,
|
|
|
|
Texture3D,
|
|
|
|
Texture1DArray,
|
|
|
|
Texture2DArray,
|
|
|
|
Texture2DMultisample,
|
|
|
|
Texture2DMultisampleArray,
|
|
|
|
Cubemap,
|
|
|
|
CubemapArray,
|
|
|
|
TextureBuffer
|
|
|
|
}
|
2022-06-05 13:06:47 -04:00
|
|
|
|
|
|
|
public static class TargetExtensions
|
|
|
|
{
|
|
|
|
public static bool IsMultisample(this Target target)
|
|
|
|
{
|
|
|
|
return target == Target.Texture2DMultisample || target == Target.Texture2DMultisampleArray;
|
|
|
|
}
|
|
|
|
}
|
2019-10-13 02:02:07 -04:00
|
|
|
}
|