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:

Vertex Hull Domain Geometry Pixel Compute
x

 

Shader Model 5 Attributes

Shader Model 5