Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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