port from perforce
This commit is contained in:
23
intromat/Intromat/Nodes/Textures/SamplerDesc.cs
Normal file
23
intromat/Intromat/Nodes/Textures/SamplerDesc.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using ReactiveUI;
|
||||
using SharpDX.Direct3D11;
|
||||
|
||||
namespace Intromat.Nodes.Textures
|
||||
{
|
||||
public class SamplerDesc : ReactiveObject
|
||||
{
|
||||
private Filter _filter = SamplerStateDescription.Default().Filter;
|
||||
private TextureAddressMode _address = SamplerStateDescription.Default().AddressU;
|
||||
|
||||
public Filter Filter
|
||||
{
|
||||
get => _filter;
|
||||
set => this.RaiseAndSetIfChanged(ref _filter, value);
|
||||
}
|
||||
|
||||
public TextureAddressMode Address
|
||||
{
|
||||
get => _address;
|
||||
set => this.RaiseAndSetIfChanged(ref _address, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user