Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the sample position for the sample index provided.
Syntax
float2 GetSamplePosition(
in int sampleindex
);
Parameters
-
sampleindex [in]
-
Type: int
The zero-based index of a sample ___location.
Return value
Type: float2
A sample ___location.
Remarks
This function is supported for the following types of shaders:
Vertex | Hull | Domain | Geometry | Pixel | Compute |
---|---|---|---|---|---|
x | x | x | x | x | x |
See also