mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-22 17:56:59 +01: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;
|
|
}
|
|
}
|
|
} |