Table of Contents

Class ShapeTextureCache

Namespace
Root
Assembly
SPZGameAssembly.dll
public class ShapeTextureCache
Inheritance
object
ShapeTextureCache
Extension Methods

Constructors

ShapeTextureCache()

public ShapeTextureCache()

Methods

AddTexture(ShapeId, Texture)

public void AddTexture(ShapeId shapeId, Texture texture)

Parameters

shapeId ShapeId
texture Texture

Clear()

public void Clear()

Dispose()

public void Dispose()

TryGetCachedTexture(ShapeId, out Texture)

public bool TryGetCachedTexture(ShapeId shapeId, out Texture texture)

Parameters

shapeId ShapeId
texture Texture

Returns

bool