16 lines
360 B
C#
16 lines
360 B
C#
|
|
using Godot;
|
|
|
|
namespace Rokojori
|
|
{
|
|
public class RDSampler: RenderingObject
|
|
{
|
|
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 ) );
|
|
}
|
|
}
|
|
} |