rj-action-library/Runtime/Rendering/Objects/RDSampler.cs

16 lines
360 B
C#
Raw Normal View History

2025-04-23 12:00:43 +00:00
using Godot;
namespace Rokojori
{
public class RDSampler: RenderingObject
{
2025-04-26 20:04:11 +00:00
public RDSampler( RDContext effect, Rid rid ):base( effect, rid )
2025-04-23 12:00:43 +00:00
{}
2025-04-26 20:04:11 +00:00
public static RDSampler Create( RDContext context, RDSamplerState samplerState )
2025-04-23 12:00:43 +00:00
{
2025-04-26 20:04:11 +00:00
return new RDSampler( context, context.renderingDevice.SamplerCreate( samplerState ) );
2025-04-23 12:00:43 +00:00
}
}
}