25#ifndef OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H
26#define OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H
28#include "../version.h"
30#include "../far/patchDescriptor.h"
35namespace OPENSUBDIV_VERSION {
74using 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 GetDomainShaderSource(Far::PatchDescriptor::Type type)
static std::string GetHullShaderSource(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()