chromium/third_party/blink/renderer/modules/webgl/webgl_clip_cull_distance.idl

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://www.khronos.org/registry/webgl/extensions/WEBGL_clip_cull_distance/

[
    LegacyNoInterfaceObject
] interface WebGLClipCullDistance {
    const unsigned long MAX_CLIP_DISTANCES_WEBGL = 0x0D32;
    const unsigned long MAX_CULL_DISTANCES_WEBGL = 0x82F9;
    const unsigned long MAX_COMBINED_CLIP_AND_CULL_DISTANCES_WEBGL = 0x82FA;
    const unsigned long CLIP_DISTANCE0_WEBGL = 0x3000;
    const unsigned long CLIP_DISTANCE1_WEBGL = 0x3001;
    const unsigned long CLIP_DISTANCE2_WEBGL = 0x3002;
    const unsigned long CLIP_DISTANCE3_WEBGL = 0x3003;
    const unsigned long CLIP_DISTANCE4_WEBGL = 0x3004;
    const unsigned long CLIP_DISTANCE5_WEBGL = 0x3005;
    const unsigned long CLIP_DISTANCE6_WEBGL = 0x3006;
    const unsigned long CLIP_DISTANCE7_WEBGL = 0x3007;
};