Skip to content

Commit 6677c92

Browse files
authored
Renderers: Add support for EAC texture formats. (#1906)
1 parent 4b55d52 commit 6677c92

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

types/three/src/constants.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,11 @@ export const RGB_ETC2_Format: 37492;
508508
*/
509509
export const RGBA_ETC2_EAC_Format: 37496;
510510

511+
export const R11_EAC_Format: 37488;
512+
export const SIGNED_R11_EAC_Format: 37489;
513+
export const RG11_EAC_Format: 37490;
514+
export const SIGNED_RG11_EAC_Format: 37491;
515+
511516
// ASTC compressed texture formats
512517

513518
/**
@@ -598,6 +603,10 @@ export type CompressedPixelFormat =
598603
| typeof RGB_ETC1_Format
599604
| typeof RGB_ETC2_Format
600605
| typeof RGBA_ETC2_EAC_Format
606+
| typeof R11_EAC_Format
607+
| typeof SIGNED_R11_EAC_Format
608+
| typeof RG11_EAC_Format
609+
| typeof SIGNED_RG11_EAC_Format
601610
| typeof RGBA_ASTC_4x4_Format
602611
| typeof RGBA_ASTC_5x4_Format
603612
| typeof RGBA_ASTC_5x5_Format

0 commit comments

Comments
 (0)