Tesla Graphics Engine Documentation (January 2012)
ImageLoaderParameters Class
TeslaTesla.ContentImageLoaderParameters
Parameter class for image loading.
Declaration Syntax
C#
public class ImageLoaderParameters : LoaderParameters
Members
All Members Constructors Methods Properties



Icon Member Description
ImageLoaderParameters()()()()
Creates a new instance of ImageLoaderParameters, with default parameters.

ImageLoaderParameters(Boolean, Boolean, Boolean)
Creates a new instance of ImageLoaderParameters.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FlipImage
Gets or sets if images should be flipped when they are loaded. Default is false.

GenerateMipMaps
Gets or sets if mip maps should be generated for textures that do not have them. Existing mip maps are no changed. Default is true.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OverrideCache
Gets or sets if a previously loaded cached asset should be returned or the cache should be overridden. Default is false, the cached asset will always be returned.
(Inherited from LoaderParameters.)
Read(ISavableReader)
Deserializes the object and populates it from the input.
(Overrides LoaderParameters.Read(ISavableReader).)
ResizePowerOfTwo
Gets or sets if the texture should be resized to the next largest power of two dimension for compatibility. Default is false.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
ValidateParameters()()()()
Validates loader parameters.
(Inherited from LoaderParameters.)
Write(ISavableWriter)
Serializes the object and writes it to the output.
(Overrides LoaderParameters.Write(ISavableWriter).)
Inheritance Hierarchy
Object
LoaderParameters
  ImageLoaderParameters

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)