mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-14 08:56:41 +00:00
33 lines
1.1 KiB
C#
33 lines
1.1 KiB
C#
|
namespace Ryujinx.Graphics.Gal
|
||
|
{
|
||
|
public struct GalTextureSampler
|
||
|
{
|
||
|
public GalTextureWrap AddressU { get; private set; }
|
||
|
public GalTextureWrap AddressV { get; private set; }
|
||
|
public GalTextureWrap AddressP { get; private set; }
|
||
|
|
||
|
public GalTextureFilter MinFilter { get; private set; }
|
||
|
public GalTextureFilter MagFilter { get; private set; }
|
||
|
public GalTextureMipFilter MipFilter { get; private set; }
|
||
|
|
||
|
public GalColorF BorderColor { get; private set; }
|
||
|
|
||
|
public GalTextureSampler(
|
||
|
GalTextureWrap AddressU,
|
||
|
GalTextureWrap AddressV,
|
||
|
GalTextureWrap AddressP,
|
||
|
GalTextureFilter MinFilter,
|
||
|
GalTextureFilter MagFilter,
|
||
|
GalTextureMipFilter MipFilter,
|
||
|
GalColorF BorderColor)
|
||
|
{
|
||
|
this.AddressU = AddressU;
|
||
|
this.AddressV = AddressV;
|
||
|
this.AddressP = AddressP;
|
||
|
this.MinFilter = MinFilter;
|
||
|
this.MagFilter = MagFilter;
|
||
|
this.MipFilter = MipFilter;
|
||
|
this.BorderColor = BorderColor;
|
||
|
}
|
||
|
}
|
||
|
}
|