Skip to content

Latest commit

 

History

History
75 lines (48 loc) · 1.17 KB

sm5-object-texture2dmsarray-getsampleposition.md

File metadata and controls

75 lines (48 loc) · 1.17 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date api_location
Texture2DMSArray::GetSamplePosition function
Gets the position of the specified sample. | Texture2DMSArray::GetSamplePosition function
e04717be-58b0-4242-87dd-d769834ae1c2
GetSamplePosition function HLSL
apiref
GetSamplePosition
NA
reference
05/31/2018

Texture2DMSArray::GetSamplePosition function

Gets the position of the specified sample.

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

Texture2DMSArray

Shader Model 5