namespace Editor.ShaderGraph;
public enum SamplerFilter
{
Aniso,
Bilinear,
Trilinear,
Point,
}
public enum SamplerAddress
{
Wrap,
Mirror,
Clamp,
Border,
Mirror_Once,
}
public struct Sampler
{
///
/// Smooth or Pixelated filtering
///
public SamplerFilter Filter { get; set; }
///
/// Horizontal wrapping, repeating or stretched
///
public SamplerAddress AddressU { get; set; }
///
/// Vertical wrapping, repeating or stretched
///
public SamplerAddress AddressV { get; set; }
}