
using Godot;

namespace Rokojori
{  
  public class RDSampler: RDObject
  {
    public RDSampler( RDContext effect, Rid rid ):base( effect, rid )
    {}

    public static RDSampler Create( RDContext context, RDSamplerState samplerState )
    {
      return new RDSampler( context, context.renderingDevice.SamplerCreate( samplerState ) );  
    }
  }
}