Home Reference Source Repository
import {TextureBank} from 'dh3dlib/js/base/TextureBank.js'
public class | source

TextureBank

TextureBank class

Constructor Summary

Public Constructor
public

constructor

Method Summary

Public Methods
public

getTexture(textureName: *): *

public

getTextureID(canvas: *): string

public

setContext(gl: *)

Public Constructors

public constructor source

constructor

Public Methods

public getTexture(textureName: *): * source

Params:

NameTypeAttributeDescription
textureName *

Return:

*

public getTextureID(canvas: *): string source

Params:

NameTypeAttributeDescription
canvas *

Return:

string

public setContext(gl: *) source

Params:

NameTypeAttributeDescription
gl *