mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-08 00:58:39 +00:00
23 lines
602 B
C#
23 lines
602 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 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();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|