Beispiel #1
0
        private void AddRef()
        {
            // if (ObjectLabel.IsUnset())
            //     throw new Exception("ObjectLabel not set!");

            Log.Verbose("Alloc Texture #{Handle} {ObjectLabel}", Handle, ObjectLabel);
            InternalTextureManager.AddRef(this);
        }
Beispiel #2
0
 private void RemoveRef()
 {
     InternalTextureManager.RemoveRef(this);
     Log.Verbose("Free Texture #{Handle} {ObjectLabel}", Handle, ObjectLabel);
 }