mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 01:25:25 +00:00
50 lines
1.5 KiB
C#
50 lines
1.5 KiB
C#
namespace Ryujinx.Graphics.GAL
|
|
{
|
|
public struct SamplerCreateInfo
|
|
{
|
|
public MinFilter MinFilter { get; }
|
|
public MagFilter MagFilter { get; }
|
|
|
|
public AddressMode AddressU { get; }
|
|
public AddressMode AddressV { get; }
|
|
public AddressMode AddressP { get; }
|
|
|
|
public CompareMode CompareMode { get; }
|
|
public CompareOp CompareOp { get; }
|
|
|
|
public ColorF BorderColor { get; }
|
|
|
|
public float MinLod { get; }
|
|
public float MaxLod { get; }
|
|
public float MipLodBias { get; }
|
|
public float MaxAnisotropy { get; }
|
|
|
|
public SamplerCreateInfo(
|
|
MinFilter minFilter,
|
|
MagFilter magFilter,
|
|
AddressMode addressU,
|
|
AddressMode addressV,
|
|
AddressMode addressP,
|
|
CompareMode compareMode,
|
|
CompareOp compareOp,
|
|
ColorF borderColor,
|
|
float minLod,
|
|
float maxLod,
|
|
float mipLodBias,
|
|
float maxAnisotropy)
|
|
{
|
|
MinFilter = minFilter;
|
|
MagFilter = magFilter;
|
|
AddressU = addressU;
|
|
AddressV = addressV;
|
|
AddressP = addressP;
|
|
CompareMode = compareMode;
|
|
CompareOp = compareOp;
|
|
BorderColor = borderColor;
|
|
MinLod = minLod;
|
|
MaxLod = maxLod;
|
|
MipLodBias = mipLodBias;
|
|
MaxAnisotropy = maxAnisotropy;
|
|
}
|
|
}
|
|
} |