getTextureFormatSize

View source getTextureFormatSize ( format: number ) : number

Returns the size in bytes per texel for a given TextureFormat.

Parameters

Name Description Default
format — —