How to use the RGBA_S3TC_DXT5_Format function from three

Find comprehensive JavaScript three.RGBA_S3TC_DXT5_Format code examples handpicked from public code repositorys.

119
120
121
122
123
124
125
126
127
128
    blockBytes = 16;
    dds.format = three_1.RGBA_S3TC_DXT3_Format;
    break;
case FOURCC_DXT5:
    blockBytes = 16;
    dds.format = three_1.RGBA_S3TC_DXT5_Format;
    break;
case FOURCC_ETC1:
    blockBytes = 8;
    dds.format = three_1.RGB_ETC1_Format;
fork icon1
star icon3
watch icon0

+ 8 other calls in file

165
166
167
168
169
170
171
172
173
  break;

case FOURCC_DXT5:

  blockBytes = 16;
  dds.format = THREE.RGBA_S3TC_DXT5_Format;
  break;

case FOURCC_ETC1:
fork icon0
star icon3
watch icon0

+ 3 other calls in file

125
126
127
128
129
130
131
132
133
134
  dds.format = _three.RGBA_S3TC_DXT3_Format;
  break;

case FOURCC_DXT5:
  blockBytes = 16;
  dds.format = _three.RGBA_S3TC_DXT5_Format;
  break;

case FOURCC_ETC1:
  blockBytes = 8;
fork icon0
star icon1
watch icon1

+ 12 other calls in file

Other functions in three

Sorted by popularity

function icon

three.Vector3 is the most popular function in three (22341 examples)