internal void Reset() { UIPainter2D.Reset(m_Handle); }
internal void Destroy() { UIPainter2D.Destroy(m_Handle); m_Handle = new SafeHandleAccess(IntPtr.Zero); }
// Instantiated internally by UIR, users shouldn't derive from this class. internal Painter2D(MeshGenerationContext ctx) { m_Handle = new SafeHandleAccess(UIPainter2D.Create(maxArcRadius)); m_Ctx = ctx; Reset(); }