Table of Contents

Interface ITesselatorManager

Namespace
Vintagestory.API.Client
Assembly
VintagestoryAPI.dll

Manager interface for Tesselators.

public interface ITesselatorManager
Extension Methods

Methods

GetCachedShape(AssetLocation)

Shape GetCachedShape(AssetLocation location)

Parameters

location AssetLocation

Returns

Shape

GetDefaultBlockMesh(Block)

Returns the default block mesh that being used by the engine when tesselating a chunk. The alternate and inventory versions are seperate.

MeshData GetDefaultBlockMesh(Block block)

Parameters

block Block

Returns

MeshData

GetDefaultBlockMeshRef(Block)

Returns the default block mesh ref that being used by the engine when rendering a block in the inventory. The alternate and inventory versions are seperate.

MultiTextureMeshRef GetDefaultBlockMeshRef(Block block)

Parameters

block Block

Returns

MultiTextureMeshRef

GetDefaultItemMeshRef(Item)

Returns the default block mesh ref that being used by the engine when rendering an item in the inventory. The alternate and inventory versions are seperate.

MultiTextureMeshRef GetDefaultItemMeshRef(Item block)

Parameters

block Item

Returns

MultiTextureMeshRef

ThreadDispose()

void ThreadDispose()