0029915: Porting to VC 2017 : Regressions in Modeling Algorithms on VC 2017
[occt.git] / src / Graphic3d / Graphic3d_TypeOfShaderObject.hxx
CommitLineData
30f0ad28 1// Created on: 2013-09-20
2// Created by: Denis BOGOLEPOV
d5f74e42 3// Copyright (c) 2013-2014 OPEN CASCADE SAS
30f0ad28 4//
973c2be1 5// This file is part of Open CASCADE Technology software library.
30f0ad28 6//
d5f74e42 7// This library is free software; you can redistribute it and/or modify it under
8// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
30f0ad28 12//
973c2be1 13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
30f0ad28 15
16#ifndef _Graphic3d_TypeOfShaderObject_HeaderFile
17#define _Graphic3d_TypeOfShaderObject_HeaderFile
18
8e0a2b19 19//! Type of the shader object.
30f0ad28 20enum Graphic3d_TypeOfShaderObject
21{
8e0a2b19 22 // rendering shaders
23 Graphic3d_TOS_VERTEX = 0x01, //!< vertex shader object, mandatory
24 Graphic3d_TOS_TESS_CONTROL = 0x02, //!< tessellation control shader object, optional
25 Graphic3d_TOS_TESS_EVALUATION = 0x04, //!< tessellation evaluation shader object, optional
26 Graphic3d_TOS_GEOMETRY = 0x08, //!< geometry shader object, optional
27 Graphic3d_TOS_FRAGMENT = 0x10, //!< fragment shader object, mandatory
28 // general-purpose compute shader
29 Graphic3d_TOS_COMPUTE = 0x20 //!< compute shader object, should be used as alternative to shader object types for rendering
30f0ad28 30};
31
32#endif