mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-14 14:36:57 +00:00
12d49c37d2
* Make max anisotropy configurable * Move opengl command to opengl project * Add GUI option
27 lines
No EOL
1 KiB
C#
27 lines
No EOL
1 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;
|
|
}
|
|
}
|
|
} |