HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GR_OSDSubdSurfaceGL3.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: GR_OSDSubdSurfaceGL3.h ( GR Library, C++)
7  *
8  * COMMENTS:
9  * Class for rendering OSD subdivision surface using GL3.
10  */
11 #ifndef GR_OSDSubdSurfaceGL3_h
12 #define GR_OSDSubdSurfaceGL3_h
13 
14 #include "GR_PolySurfaceGL3.h"
15 #include "GR_OSDSubdData.h"
16 
17 class GT_UtilOpenSubdiv;
18 
20  public GR_OSDSubdData
21 {
22 public:
24  ~GR_OSDSubdSurfaceGL3() override;
25 
26  const char *className() const override { return "GR_OSDSubdSurfaceGL3"; }
27 
29  const GT_PrimitiveHandle &primh,
30  const GR_UpdateParms &p,
31  const char *cache_name) override;
32 };
33 
34 #endif
35 
const char * className() const override
GT_API const UT_StringHolder cache_name
Temporary container for either a RV_Render and an RE_Render.
set of parameters sent to GR_Primitive::update()
#define GR_API
Definition: GR_API.h:10
GLboolean r
Definition: glcorearb.h:1222
void update(RE_RenderContext r, const GT_PrimitiveHandle &primh, const GR_UpdateParms &p, const char *cache_name) override
Class to perform subdivision refinement using OpenSubdivision.