patchconstantfunc

Defines the function for computing patch constant data.



patchconstantfunc("function_name")


Remarks

function_name is the name of a separate function that outputs the patch-constant data.

This attribute is supported in the following types of shaders:

VertexHullDomainGeometryPixelCompute
x

 

Related topics

Shader Model 5

 

 

Community Additions

ADD
Show:
© 2014 Microsoft