Skip to content
Last Updated
Mar 28, 2025, 03:08

Class BasicTextureManager ​

🏭 Constructors ​

constructor ​

ts
BasicTextureManager(textures: Record<string, TextureData>= {}, loader: TextureLoader= ...): BasicTextureManager

Parameters ​

  • textures: Record<string, TextureData>
  • loader: TextureLoader

Return Type ​

  • BasicTextureManager

Defined in: packages/model/block.ts:27

🔧 Methods ​

hasTexture ​

ts
hasTexture(path: string): boolean

Parameters ​

  • path: string

Return Type ​

  • boolean

Defined in: packages/model/block.ts:29

loadTexture ​

ts
loadTexture(path: string): Texture

Parameters ​

  • path: string

Return Type ​

  • Texture

Defined in: packages/model/block.ts:33