constructor

TextureInfo.constructor(texel_type, shape, value)

TextureInfoのコンストラクタ

ソース

constructor(texel_type, shape, value) {
    // テクセルの型
    this.texelType = texel_type;

    // テクスチャのサイズ
    this.shape = shape;

    // テクスチャの値
    this.value = value;
}