2023-09-19 20:19:41 +00:00
|
|
|
|
namespace MoonWorks.Graphics
|
2021-01-20 03:33:27 +00:00
|
|
|
|
{
|
2023-09-19 20:19:41 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// A texture-sampler pair to be used when binding samplers.
|
|
|
|
|
/// </summary>
|
2022-02-23 05:14:32 +00:00
|
|
|
|
public struct TextureSamplerBinding
|
|
|
|
|
{
|
2022-11-08 19:29:05 +00:00
|
|
|
|
public Texture Texture;
|
|
|
|
|
public Sampler Sampler;
|
2021-01-20 03:33:27 +00:00
|
|
|
|
|
2022-02-23 05:14:32 +00:00
|
|
|
|
public TextureSamplerBinding(Texture texture, Sampler sampler)
|
|
|
|
|
{
|
2022-11-08 19:29:05 +00:00
|
|
|
|
Texture = texture;
|
|
|
|
|
Sampler = sampler;
|
2022-02-23 05:14:32 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
2021-01-20 03:33:27 +00:00
|
|
|
|
}
|