| Name | Description |
| abs |
Absolute value (per component). |
| acos |
Returns the arccosine of each component of x. |
| all |
Test if all components of x are nonzero. |
| AllMemoryBarrier |
Blocks execution of all threads in a group until all memory accesses have been completed. |
| AllMemoryBarrierWithGroupSync |
Blocks execution of all threads in a group until all memory accesses have been completed and all threads in the group have reached this call. |
| any |
Test if any component of x is nonzero. |
| asdouble |
Reinterprets a cast value into a double. |
| asfloat |
Convert the input type to a float. |
| asin |
Returns the arcsine of each component of x. |
| asint |
Convert the input type to an integer. |
| asuint |
Reinterprets the bit pattern of a 64-bit type to a uint. |
| asuint |
Convert the input type to an unsigned integer. |
| atan |
Returns the arctangent of x. |
| atan2 |
Returns the arctangent of of two values (x,y). |
| ceil |
Returns the smallest integer which is greater than or equal to x. |
| clamp |
Clamps x to the range [min, max]. |
| clip |
Discards the current pixel, if any component of x is less than zero. |
| cos |
Returns the cosine of x. |
| cosh |
Returns the hyperbolic cosine of x. |
| countbits |
Counts the number of bits (per component) in the input integer. |
| cross |
Returns the cross product of two 3D vectors. |
| D3DCOLORtoUBYTE4 |
Swizzles and scales components of the 4D vector xto compensate for the lack of UBYTE4 support in some hardware. |
| ddx |
Returns the partial derivative of x with respect to the screen-space x-coordinate. |
| ddx_coarse |
Computes a low precision partial derivative with respect to the screen-space x-coordinate. |
| ddx_fine |
Computes a high precision partial derivative with respect to the screen-space x-coordinate. |
| ddy |
Returns the partial derivative of x with respect to the screen-space y-coordinate. |
| ddy_coarse |
Computes a low precision partial derivative with respect to the screen-space y-coordinate. |
| ddy_fine |
Computes a high precision partial derivative with respect to the screen-space y-coordinate. |
| degrees |
Converts x from radians to degrees. |
| determinant |
Returns the determinant of the square matrix m. |
| DeviceMemoryBarrier |
Blocks execution of all threads in a group until all device memory accesses have been completed. |
| DeviceMemoryBarrierWithGroupSync |
Blocks execution of all threads in a group until all device memory accesses have been completed and all threads in the group have reached this call. |
| distance |
Returns the distance between two points. |
| dot |
Returns the dot product of two vectors. |
| dst |
Calculates a distance vector. |
| EvaluateAttributeAtCentroid |
Evaluates at the pixel centroid. |
| EvaluateAttributeAtSample |
Evaluates at the indexed sample location. |
| EvaluateAttributeSnapped |
Evaluates at the pixel centroid with an offset. |
| exp |
Returns the base-e exponent. |
| exp2 |
Base 2 exponent (per component). |
| f16tof32 |
Converts the float16 stored in the low-half of the uint to a float. |
| f32tof16 |
Converts an input into a float16 type. |
| faceforward |
Returns -n * sign(dot(i, ng)). |
| firstbithigh |
Gets the location of the first set bit starting from the highest order bit and working downward, per component. |
| firstbitlow |
Returns the location of the first set bit starting from the lowest order bit and working upward, per component. |
| floor |
Returns the greatest integer which is less than or equal to x. |
| fmod |
Returns the floating point remainder of x/y. |
| frac |
Returns the fractional part of x. |
| frexp |
Returns the mantissa and exponent of x. |
| fwidth |
Returns abs(ddx(x)) + abs(ddy(x)) |
| GetRenderTargetSampleCount |
Returns the number of render-target samples. |
| GetRenderTargetSamplePosition |
Returns a sample position (x,y) for a given sample index. |
| GroupMemoryBarrier |
Blocks execution of all threads in a group until all group shared accesses have been completed. |
| GroupMemoryBarrierWithGroupSync |
Blocks execution of all threads in a group until all group shared accesses have been completed and all threads in the group have reached this call. |
| InterlockedAdd |
Performs a guaranteed atomic add of value to the dest resource variable. |
| InterlockedAnd |
Performs a guaranteed atomic and. |
| InterlockedCompareExchange |
Atomically compares the input to the comparison value and exchanges the result. |
| InterlockedCompareStore |
Atomically compares the input to the comparison value. |
| InterlockedExchange |
Assigns value to dest and returns the original value. |
| InterlockedMax |
Performs a guaranteed atomic max. |
| InterlockedMin |
Performs a guaranteed atomic min. |
| InterlockedOr |
Performs a guaranteed atomic or. |
| InterlockedXor |
Performs a guaranteed atomic xor. |
| isfinite |
Returns true if x is finite, false otherwise. |
| isinf |
Returns true if x is +INF or -INF, false otherwise. |
| isnan |
Returns true if x is NAN or QNAN, false otherwise. |
| ldexp |
Returns x * 2exp |
| length |
Returns the length of the vector v. |
| lerp |
Returns x + s(y - x). |
| lit |
Returns a lighting vector (ambient, diffuse, specular, 1) |
| log |
Returns the base-e logarithm of x. |
| log10 |
Returns the base-10 logarithm of x. |
| log2 |
Returns the base-2 logarithm of x. |
| mad |
Performs an arithmetic multiply/add operation on three values. |
| max |
Selects the greater of x and y. |
| min |
Selects the lesser of x and y. |
| modf |
Splits the value x into fractional and integer parts. |
| mul |
Performs matrix multiplication using x and y. |
| noise |
Generates a random value using the Perlin-noise algorithm. |
| normalize |
Returns a normalized vector. |
| pow |
Returns xy. |
| Process2DQuadTessFactorsAvg |
Generates the corrected tessellation factors for a quad patch. |
| Process2DQuadTessFactorsMax |
Generates the corrected tessellation factors for a quad patch. |
| Process2DQuadTessFactorsMin |
Generates the corrected tessellation factors for a quad patch. |
| ProcessIsolineTessFactors |
Generates the rounded tessellation factors for an isoline. |
| ProcessQuadTessFactorsAvg |
Generates the corrected tessellation factors for a quad patch. |
| ProcessQuadTessFactorsMax |
Generates the corrected tessellation factors for a quad patch. |
| ProcessQuadTessFactorsMin |
Generates the corrected tessellation factors for a quad patch. |
| ProcessTriTessFactorsAvg |
Generates the corrected tessellation factors for a tri patch. |
| ProcessTriTessFactorsMax |
Generates the corrected tessellation factors for a tri patch. |
| ProcessTriTessFactorsMin |
Generates the corrected tessellation factors for a tri patch. |
| radians |
Converts x from degrees to radians. |
| rcp |
Calculates a fast, approximate, per-component reciprocal. |
| reflect |
Returns a reflection vector. |
| refract |
Returns the refraction vector. |
| reversebits |
Reverses the order of the bits, per component. |
| round |
Rounds x to the nearest integer |
| rsqrt |
Returns 1 / sqrt(x) |
| saturate |
Clamps x to the range [0, 1] |
| sign |
Computes the sign of x. |
| sin |
Returns the sine of x |
| sincos |
Returns the sine and cosine of x. |
| sinh |
Returns the hyperbolic sine of x |
| smoothstep |
Returns a smooth Hermite interpolation between 0 and 1. |
| sqrt |
Square root (per component) |
| step |
Returns (x >= a) ? 1 : 0 |
| tan |
Returns the tangent of x |
| tanh |
Returns the hyperbolic tangent of x |
| tex1D(s, t) |
1D texture lookup. |
| tex1D(s, t, ddx, ddy) |
1D texture lookup. |
| tex1Dbias |
1D texture lookup with bias. |
| tex1Dgrad |
1D texture lookup with a gradient. |
| tex1Dlod |
1D texture lookup with LOD. |
| tex1Dproj |
1D texture lookup with projective divide. |
| tex2D(s, t) |
2D texture lookup. |
| tex2D(s, t, ddx, ddy) |
2D texture lookup. |
| tex2Dbias |
2D texture lookup with bias. |
| tex2Dgrad |
2D texture lookup with a gradient. |
| tex2Dlod |
2D texture lookup with LOD. |
| tex2Dproj |
2D texture lookup with projective divide. |
| tex3D(s, t) |
3D texture lookup. |
| tex3D(s, t, ddx, ddy) |
3D texture lookup. |
| tex3Dbias |
3D texture lookup with bias. |
| tex3Dgrad |
3D texture lookup with a gradient. |
| tex3Dlod |
3D texture lookup with LOD. |
| tex3Dproj |
3D texture lookup with projective divide. |
| texCUBE(s, t) |
Cube texture lookup. |
| texCUBE(s, t, ddx, ddy) |
Cube texture lookup. |
| texCUBEbias |
Cube texture lookup with bias. |
| texCUBEgrad |
Cube texture lookup with a gradient. |
| texCUBElod |
Cube texture lookup with LOD. |
| texCUBEproj |
Cube texture lookup with projective divide. |
| transpose |
Returns the transpose of the matrix m. |
| trunc |
Truncates floating-point value(s) to integer value(s) |