23 lines
372 B
C#
23 lines
372 B
C#
|
|
using Godot;
|
|
|
|
namespace Rokojori
|
|
{
|
|
public class RenderingObject
|
|
{
|
|
protected RDContext _context;
|
|
public RDContext context => _context;
|
|
|
|
protected Rid _rid;
|
|
public Rid rid => _rid;
|
|
|
|
public bool valid => _rid.IsValid;
|
|
|
|
public RenderingObject( RDContext context, Rid rid )
|
|
{
|
|
this._context = context;
|
|
this._rid = rid;
|
|
}
|
|
|
|
}
|
|
} |