public abstract class GraphicsResource extends java.lang.Object implements IDisposable
Modifier and Type | Field and Description |
---|---|
protected GraphicsDevice |
_parent |
Event<EventArgs> |
Disposing
Occurs when Dispose is called or when this object is finalized and collected by the garbage collector of the Microsoft .NET common language runtime.
|
java.lang.String |
Name
Gets the name of the Resource.
|
java.lang.Object |
Tag
Gets the resource tags for this resource.
|
Modifier and Type | Method and Description |
---|---|
void |
Dispose()
Immediately releases the unmanaged resources used by this Object.
|
protected void |
Dispose(boolean disposing)
Immediately releases the unmanaged resources used by this Object.
|
protected void |
finalize()
Allows this Object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object.
|
GraphicsDevice |
getGraphicsDevice()
Gets the GraphicsDevice associated with this GraphicsResource.
|
boolean |
IsDisposed()
Gets a value that indicates whether the object is disposed.
|
protected void |
raise_disposing(java.lang.Object sender,
EventArgs e) |
java.lang.String |
toString()
Gets a string representation of the current instance.
|
protected GraphicsDevice _parent
public java.lang.String Name
public java.lang.Object Tag
public GraphicsDevice getGraphicsDevice()
public boolean IsDisposed()
public void Dispose()
Dispose
in interface IDisposable
protected void Dispose(boolean disposing)
disposing
- protected void finalize()
finalize
in class java.lang.Object
protected void raise_disposing(java.lang.Object sender, EventArgs e)
public java.lang.String toString()
toString
in class java.lang.Object