Index

 E3d_Print2DTexture
 E3d_2DTextureClone


E3d_Print2DTexture

Print out the attributes of a 2DTexture

Syntax
 void E3d_Print2DTexture(E3d2DTexture* L2DTexture)
Argument
 E3d2DTexture* L2DTexture     The E3d2DTexture to dump out
Description
Prints the attributes of the given 2DTexture to the standard output.

Return value
None.

E3d_2DTextureClone

Clone a 2DTexture

Syntax
 E3d2DTexture* E3d_2DTextureClone(E3d2DTexture* L2DTexture, E3d2DTexture** L2DTextures, unsigned int LNumOf2DTextures)
Arguments
 E3d2DTexture*  L2DTexture         The 2DTexture to clone
 E3d2DTexture** L2DTextures        List of 2DTextures for naming
 unsigned int   LNumOf2DTextures   Number of entries in the 2DTextures array
Description
Creates a duplicate (clone) of the given 2DTexture.
If the LNumOf2DTextures argument is not 0, this function will make sure that the name of the new 2DTexture will be unique among the 2DTextures in the L2DTextures array.
For example: if the name of L2DTexture is "Iron" and the L2DTextures array already has a 2DTexture called "Iron", the clone will be called "Iron-1".

Return value
Pointer to the new 2DTexture, or NULL in case of an error.

See also
E3d_2DTextureFree, E3d_2DTextureDefault