mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-23 10:41:22 -08:00
12d49c37d2
* Make max anisotropy configurable * Move opengl command to opengl project * Add GUI option
27 lines
1.0 KiB
C#
27 lines
1.0 KiB
C#
namespace Ryujinx.Graphics.GAL
|
|
{
|
|
public struct Capabilities
|
|
{
|
|
public bool SupportsAstcCompression { get; }
|
|
public bool SupportsNonConstantTextureOffset { get; }
|
|
|
|
public int MaximumComputeSharedMemorySize { get; }
|
|
public int StorageBufferOffsetAlignment { get; }
|
|
|
|
public float MaxSupportedAnisotropy { get; }
|
|
|
|
public Capabilities(
|
|
bool supportsAstcCompression,
|
|
bool supportsNonConstantTextureOffset,
|
|
int maximumComputeSharedMemorySize,
|
|
int storageBufferOffsetAlignment,
|
|
float maxSupportedAnisotropy)
|
|
{
|
|
SupportsAstcCompression = supportsAstcCompression;
|
|
SupportsNonConstantTextureOffset = supportsNonConstantTextureOffset;
|
|
MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize;
|
|
StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
|
|
MaxSupportedAnisotropy = maxSupportedAnisotropy;
|
|
}
|
|
}
|
|
} |