MuGameFramework  1.0
MuGameFramework is a 2D game framework built upon C# and SFML
 All Classes Namespaces Files Functions Variables Enumerations Properties
MuGameFramework.Graphics.Texture2D Class Reference

Represents a 2D texture stored in memory More...

Inheritance diagram for MuGameFramework.Graphics.Texture2D:
MuGameFramework.IContent

Public Member Functions

void Dispose ()
 Used to explicitly free all resources currently in use by this object before destruction
bool IsDisposed ()
 Is this Texture disposed?
- Public Member Functions inherited from MuGameFramework.IContent
void LoadContent (string fileToLoad)
 Load a file into this object (if file is not already loaded into it)

Protected Member Functions

virtual void Dispose (bool disposing)
 Dispose any and all objects, either managed or unmanaged at the end of this objects lifespan

Properties

bool Repeated [get, set]
 Set if the Texture2D should repeat or not
Size Size [get, set]
 Gets the size fo the texture
bool Smooth [get, set]
 Enable or disable the smooth filter
bool Disposed [get, set]
 Is this Texture disposed?

Detailed Description

Represents a 2D texture stored in memory

Member Function Documentation

virtual void MuGameFramework.Graphics.Texture2D.Dispose ( bool  disposing)
protectedvirtual

Dispose any and all objects, either managed or unmanaged at the end of this objects lifespan

Parameters
disposingDispose of Managed objects?
void MuGameFramework.Graphics.Texture2D.Dispose ( )

Used to explicitly free all resources currently in use by this object before destruction

bool MuGameFramework.Graphics.Texture2D.IsDisposed ( )

Is this Texture disposed?

Returns
Is this Texture disposed?

Implements MuGameFramework.IContent.

Property Documentation

bool MuGameFramework.Graphics.Texture2D.Disposed
getset

Is this Texture disposed?

bool MuGameFramework.Graphics.Texture2D.Repeated
getset

Set if the Texture2D should repeat or not

Size MuGameFramework.Graphics.Texture2D.Size
getset

Gets the size fo the texture

bool MuGameFramework.Graphics.Texture2D.Smooth
getset

Enable or disable the smooth filter


The documentation for this class was generated from the following file: