13 #ifndef OGLPLUS_EXT_NV_PATH_RENDERING_1203031902_HPP
14 #define OGLPLUS_EXT_NV_PATH_RENDERING_1203031902_HPP
16 #if OGLPLUS_DOCUMENTATION_ONLY || GL_NV_path_rendering
38 OGLPLUS_EXTENSION_CLASS(NV, path_rendering)
47 OGLPLUS_GLFUNC(PathCoverDepthFuncNV)(GLenum(
function));
48 OGLPLUS_CHECK_SIMPLE(PathCoverDepthFuncNV);
58 OGLPLUS_GLFUNC(PathStencilDepthOffsetNV)(factor, units);
59 OGLPLUS_CHECK_SIMPLE(PathStencilDepthOffsetNV);
74 OGLPLUS_GLFUNC(PathColorGenNV)(
80 OGLPLUS_CHECK_SIMPLE(PathColorGenNV);
95 OGLPLUS_GLFUNC(PathTexGenNV)(
96 GLenum(GL_TEXTURE0 + GLuint(tex_unit)),
101 OGLPLUS_CHECK_SIMPLE(PathTexGenNV);
107 #endif // NV_path_rendering
109 #endif // include guard
static void CoverDepthFunc(CompareFunction function)
Sets the depth function to be used with path cover functions.
Definition: NV_path_rendering.hpp:45
Funcions and classes for handling and wrapping OpenGL extensions.
static void DepthOffset(GLfloat factor, GLint units)
Sets the depth offset for rendered paths.
Definition: NV_path_rendering.hpp:56
Wrapper for the NV_path_rendering generation mode enumeration.
PathNVColor
Path color mode enumeration.
Definition: color.hpp:27
Wrapper for the NV_path_rendering path array class.
Wrapper for the NV_path_rendering color enumeration.
static void ColorGen(PathNVColor color, PathNVGenMode gen_mode, PathNVColorFormat color_format, const GLfloat *coeffs)
Sets how colors are computed for path covering fragment operations.
Definition: NV_path_rendering.hpp:67
static void TexGen(TextureUnitSelector tex_unit, PathNVGenMode gen_mode, GLint components, const GLfloat *coeffs)
Sets how tex-coords are computed for path covering fragment operations.
Definition: NV_path_rendering.hpp:88
PathNVGenMode
Path color and tex-coord generation mode enumeration.
Definition: gen_mode.hpp:27
Wrapper for the NV_path_rendering extension.
Definition: NV_path_rendering.hpp:35
PathNVColorFormat
Path color format enumeration.
Definition: color_format.hpp:27
Type for the texture unit selector (implementation-dependent limited) number.
Definition: texture_unit.hpp:22
CompareFunction
Comparison function type enumeration.
Definition: compare_function.hpp:30
Texture and image unit selectors.