25#ifndef OPENSUBDIV3_OSD_MTL_PATCH_SHADER_SOURCE_H
26#define OPENSUBDIV3_OSD_MTL_PATCH_SHADER_SOURCE_H
30#import "../far/patchDescriptor.h"
35namespace OPENSUBDIV_VERSION {
89using 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 GetHullShaderSource(Far::PatchDescriptor::Type type, Far::PatchDescriptor::Type fvarType)
static std::string GetDomainShaderSource(Far::PatchDescriptor::Type type)
static std::string GetVertexShaderSource(Far::PatchDescriptor::Type type, Far::PatchDescriptor::Type fvarType)
Deprecated.
static std::string GetDomainShaderSource(Far::PatchDescriptor::Type type, Far::PatchDescriptor::Type fvarType)
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()