mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-09 09:18:43 +00:00
26 lines
1 KiB
C#
26 lines
1 KiB
C#
namespace Ryujinx.Graphics.GAL
|
|
{
|
|
public struct Capabilities
|
|
{
|
|
public bool SupportsAstcCompression { get; }
|
|
public bool SupportsNonConstantTextureOffset { get; }
|
|
|
|
public int MaximumViewportDimensions { get; }
|
|
public int MaximumComputeSharedMemorySize { get; }
|
|
public int StorageBufferOffsetAlignment { get; }
|
|
|
|
public Capabilities(
|
|
bool supportsAstcCompression,
|
|
bool supportsNonConstantTextureOffset,
|
|
int maximumViewportDimensions,
|
|
int maximumComputeSharedMemorySize,
|
|
int storageBufferOffsetAlignment)
|
|
{
|
|
SupportsAstcCompression = supportsAstcCompression;
|
|
SupportsNonConstantTextureOffset = supportsNonConstantTextureOffset;
|
|
MaximumViewportDimensions = maximumViewportDimensions;
|
|
MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize;
|
|
StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
|
|
}
|
|
}
|
|
} |