private void AddRef() { // if (ObjectLabel.IsUnset()) // throw new Exception("ObjectLabel not set!"); Log.Verbose("Alloc Texture #{Handle} {ObjectLabel}", Handle, ObjectLabel); InternalTextureManager.AddRef(this); }
private void RemoveRef() { InternalTextureManager.RemoveRef(this); Log.Verbose("Free Texture #{Handle} {ObjectLabel}", Handle, ObjectLabel); }