How to use the RGB_S3TC_DXT1_Format function from three
Find comprehensive JavaScript three.RGB_S3TC_DXT1_Format code examples handpicked from public code repositorys.
111 112 113 114 115 116 117 118 119 120
const fourCC = header[off_pfFourCC]; let isRGBAUncompressed = false; switch (fourCC) { case FOURCC_DXT1: blockBytes = 8; dds.format = three_1.RGB_S3TC_DXT1_Format; break; case FOURCC_DXT3: blockBytes = 16; dds.format = three_1.RGBA_S3TC_DXT3_Format;
1
3
0
+ 8 other calls in file
GitHub: alimalkhalifa/VisualEQ
153 154 155 156 157 158 159 160 161 162
switch ( fourCC ) { case FOURCC_DXT1: blockBytes = 8; dds.format = THREE.RGB_S3TC_DXT1_Format; break; case FOURCC_DXT3:
0
3
0
+ 3 other calls in file
GitHub: VeinKowal/veins
115 116 117 118 119 120 121 122 123 124
var isRGBAUncompressed = false; switch (fourCC) { case FOURCC_DXT1: blockBytes = 8; dds.format = _three.RGB_S3TC_DXT1_Format; break; case FOURCC_DXT3: blockBytes = 16;
0
1
1
+ 12 other calls in file
three.Vector3 is the most popular function in three (22341 examples)