blob: 365f173ecba299ef5675c2911140a717889fde86 [file] [log] [blame]
David Ghandehari9e5b5872016-07-28 09:50:04 -07001/*
2 * Copyright 2016 Google Inc. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef GLIMP_GLES_DRAW_MODE_H_
18#define GLIMP_GLES_DRAW_MODE_H_
19
20namespace glimp {
21namespace gles {
22
23// Defines the legal values for the draw mode parameter passed into
24// glDrawArrays() and glDrawElements().
25enum DrawMode {
26 kDrawModePoints,
27 kDrawModeLines,
28 kDrawModeLineLoop,
29 kDrawModeLineStrip,
30 kDrawModeTriangles,
31 kDrawModeTriangleStrip,
32 kDrawModeTriangleFan,
33 kDrawModeInvalid,
34};
35
36} // namespace gles
37} // namespace glimp
38
39#endif // GLIMP_GLES_DRAW_MODE_H_