25#ifndef OPENSUBDIV3_OSD_GLSL_PATCH_SHADER_SOURCE_H
26#define OPENSUBDIV3_OSD_GLSL_PATCH_SHADER_SOURCE_H
28#include "../version.h"
30#include "../far/patchDescriptor.h"
35namespace OPENSUBDIV_VERSION {
77using namespace OPENSUBDIV_VERSION;
Provides shader source which can be used by client code.
static std::string GetVertexShaderSource(Far::PatchDescriptor::Type type)
static std::string GetPatchDrawingShaderSource()
Returns shader source which can be used while drawing piecewise parametric patches resulting from sub...
static std::string GetTessEvalShaderSource(Far::PatchDescriptor::Type type)
static std::string GetPatchBasisShaderSource()
Returns shader source which can be used to evaluate position and first and second derivatives on piec...
static std::string GetCommonShaderSource()
static std::string GetTessControlShaderSource(Far::PatchDescriptor::Type type)