mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-22 18:41:13 +02:00
* editorconfig: Add default charset * Change file encoding from UTF-8-BOM to UTF-8
23 lines
608 B
C#
23 lines
608 B
C#
using Ryujinx.Graphics.GAL.Multithreading.Commands.Sampler;
|
|
using Ryujinx.Graphics.GAL.Multithreading.Model;
|
|
|
|
namespace Ryujinx.Graphics.GAL.Multithreading.Resources
|
|
{
|
|
class ThreadedSampler : ISampler
|
|
{
|
|
private readonly ThreadedRenderer _renderer;
|
|
public ISampler Base;
|
|
|
|
public ThreadedSampler(ThreadedRenderer renderer)
|
|
{
|
|
_renderer = renderer;
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
_renderer.New<SamplerDisposeCommand>().Set(new TableRef<ThreadedSampler>(_renderer, this));
|
|
_renderer.QueueCommand();
|
|
}
|
|
}
|
|
}
|