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

23 lines
372 B
C#
Raw Normal View History

2025-04-23 12:00:43 +00:00
using Godot;
namespace Rokojori
{
public class RenderingObject
{
2025-04-26 20:04:11 +00:00
protected RDContext _context;
public RDContext context => _context;
2025-04-23 12:00:43 +00:00
protected Rid _rid;
public Rid rid => _rid;
public bool valid => _rid.IsValid;
2025-04-26 20:04:11 +00:00
public RenderingObject( RDContext context, Rid rid )
2025-04-23 12:00:43 +00:00
{
2025-04-26 20:04:11 +00:00
this._context = context;
2025-04-23 12:00:43 +00:00
this._rid = rid;
}
}
}