Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions types/three/src/constants.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,19 +371,6 @@ export const RGBFormat: 1022;
/** {@link RGBAFormat} is the default and reads the red, green, blue and alpha components. */
export const RGBAFormat: 1023;

/**
* {@link LuminanceFormat} reads each element as a single luminance component.
* This is then converted to a floating point, clamped to the range `[0,1]`, and then assembled into an RGBA element by
* placing the luminance value in the red, green and blue channels, and attaching `1.0` to the alpha channel.
*/
export const LuminanceFormat: 1024;

/**
* {@link LuminanceAlphaFormat} reads each element as a luminance/alpha double.
* The same process occurs as for the {@link LuminanceFormat}, except that the alpha channel may have values other than `1.0`.
*/
export const LuminanceAlphaFormat: 1025;

/**
* {@link DepthFormat} reads each element as a single depth value, converts it to floating point, and clamps to the range `[0,1]`.
* @remarks This is the default for {@link THREE.DepthTexture}.
Expand Down Expand Up @@ -440,8 +427,6 @@ export type PixelFormat =
| typeof AlphaFormat
| typeof RGBFormat
| typeof RGBAFormat
| typeof LuminanceFormat
| typeof LuminanceAlphaFormat
| typeof DepthFormat
| typeof DepthStencilFormat
| typeof RedFormat
Expand Down
Loading