Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.TextureConverter.TexAtlas Class Reference

A texture atlas : a texture made from a composition of many textures. More...

Inheritance diagram for SiliconStudio.TextureConverter.TexAtlas:
SiliconStudio.TextureConverter.TexImage ICloneable

Classes

class  TexLayout
 Describes the positions and size of every inner textures of a texture atlas More...
 

Public Member Functions

 TexAtlas (TexLayout layout, TexImage atlas)
 Initializes a new instance of the TexAtlas class. More...
 
override Object Clone (bool CopyMemory)
 Creates a new object that is a copy of the current instance. More...
 
- Public Member Functions inherited from SiliconStudio.TextureConverter.TexImage
 TexImage (IntPtr data, int dataSize, int width, int height, int depth, SiliconStudio.Paradox.Graphics.PixelFormat format, int mipmapCount, int arraySize, TextureDimension dimension, int faceCount=1)
 Initializes a new instance of the TexImage class. More...
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
Object Clone ()
 Creates a new object that is a copy of the current instance. More...
 
void Update ()
 Forces the last current library to update the image data. More...
 
void Dispose ()
 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More...
 
override string ToString ()
 

Properties

TexLayout Layout [get, set]
 The atlas inner textures disposition More...
 
- Properties inherited from SiliconStudio.TextureConverter.TexImage
IntPtr Data [get, set]
 
int DataSize [get, set]
 
int Width [get, set]
 
int Height [get, set]
 
int Depth [get, set]
 
int RowPitch [get, set]
 
int SlicePitch [get, set]
 
SiliconStudio.Paradox.Graphics.PixelFormat Format [get, set]
 
int ArraySize [get, set]
 
int MipmapCount [get, set]
 
SubImage[] SubImageArray [get, set]
 
TextureDimension Dimension [get, set]
 
string Name [get, set]
 
int FaceCount [get, set]
 

Additional Inherited Members

- Public Types inherited from SiliconStudio.TextureConverter.TexImage
enum  TextureDimension { TextureDimension.Texture1D, TextureDimension.Texture2D, TextureDimension.Texture3D, TextureDimension.TextureCube }
 The Different types of texture More...
 

Detailed Description

A texture atlas : a texture made from a composition of many textures.

Definition at line 14 of file TexAtlas.cs.

Constructor & Destructor Documentation

SiliconStudio.TextureConverter.TexAtlas.TexAtlas ( TexLayout  layout,
TexImage  atlas 
)

Initializes a new instance of the TexAtlas class.

Parameters
layoutThe layout.
atlasThe atlas.

Definition at line 36 of file TexAtlas.cs.

Member Function Documentation

override Object SiliconStudio.TextureConverter.TexAtlas.Clone ( bool  CopyMemory)
virtual

Creates a new object that is a copy of the current instance.

Parameters
CopyMemoryif set to true [copy memory], it is a DEEP copy.
Returns
A new object that is a copy of this instance.

Reimplemented from SiliconStudio.TextureConverter.TexImage.

Definition at line 50 of file TexAtlas.cs.

Property Documentation

TexLayout SiliconStudio.TextureConverter.TexAtlas.Layout
getset

The atlas inner textures disposition

Definition at line 19 of file TexAtlas.cs.


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