Export (0) Print
Expand All
abs
all
any
cos
ddx
ddy
dot
dst
exp
fma
lit
log
mad
max
min
mul
pow
rcp
sin
tan
Expand Minimize

GetRenderTargetSampleCount

Gets the number of samples for a render target.

UINT GetRenderTargetSampleCount()

 

Parameters

ItemDescription

None

 

Return Value

The number of samples.

Remarks

Use this function and GetRenderTargetSamplePosition to find out the number and position of the sampling locations for a render target.

Minimum Shader Model

This function is supported in the following shader models.

Shader ModelSupported
Shader Model 4 and higher shader modelsyes
Shader Model 3 (DirectX HLSL) no
Shader Model 2 (DirectX HLSL) no
Shader Model 1 (DirectX HLSL) no

 

See also

Intrinsic Functions (DirectX HLSL)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft