MoonWorks/src/Graphics/Bindings/TextureSamplerBinding.cs

18 lines
342 B
C#
Raw Normal View History

2023-09-19 20:19:41 +00:00
namespace MoonWorks.Graphics
{
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
{
public Texture Texture;
public Sampler Sampler;
2022-02-23 05:14:32 +00:00
public TextureSamplerBinding(Texture texture, Sampler sampler)
{
Texture = texture;
Sampler = sampler;
2022-02-23 05:14:32 +00:00
}
}
}