@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
32 lines (30 loc) • 591 B
text/typescript
import {
AlphaFormat,
RedFormat,
RedIntegerFormat,
RGFormat,
RGIntegerFormat,
// RGBFormat,
RGBAFormat,
RGBAIntegerFormat,
LuminanceFormat,
LuminanceAlphaFormat,
// RGBEFormat, // removing as it is set to same value as RGBAFormat, so can be confusing
DepthFormat,
DepthStencilFormat,
} from 'three';
export const TEXTURE_FORMATS = [
{AlphaFormat},
{RedFormat},
{RedIntegerFormat},
{RGFormat},
{RGIntegerFormat},
// {RGBFormat},
{RGBAFormat},
{RGBAIntegerFormat},
{LuminanceFormat},
{LuminanceAlphaFormat},
// {RGBEFormat},
{DepthFormat},
{DepthStencilFormat},
];