Table of Contents

Class TextureDictionary

Namespace
Vintagestory.API.Client
Assembly
VintagestoryAPI.dll
public class TextureDictionary : FastSmallDictionary<string, CompositeTexture>, IDictionary<string, CompositeTexture>, ICollection<KeyValuePair<string, CompositeTexture>>, IEnumerable<KeyValuePair<string, CompositeTexture>>, IEnumerable
Inheritance
TextureDictionary
Implements
Inherited Members
Extension Methods

Constructors

TextureDictionary()

public TextureDictionary()

TextureDictionary(int)

public TextureDictionary(int initialCapacity)

Parameters

initialCapacity int

Methods

BakeAndCollect(IAssetManager, ITextureLocationDictionary, AssetLocation, string)

Called by the texture atlas manager when building up the block atlas. Has to add all of the blocks textures

public virtual void BakeAndCollect(IAssetManager manager, ITextureLocationDictionary mainTextureDict, AssetLocation sourceCode, string sourceMessage)

Parameters

manager IAssetManager
mainTextureDict ITextureLocationDictionary
sourceCode AssetLocation
sourceMessage string