C language function:D2DSampleInputAtPosition sample codes

Search sample code in the internet.It is the result.


TITLE : UniversalDXSDK/d2d1effecthelpers.hlsli at master gongminmin/UniversalDXSDK GitHub
#define D2DSampleInputAtPosition(index, pos) InputTexture##index.Sample(InputSampler##index, __d2dstatic_uv##index.xy + __d2dstatic_uv##index.zw * (pos - __d2dstatic_scenePos.xy)).......
http://github.com/gongminmin/UniversalDXSDK/blob/master/Include/d2d1effecthelpers.hlsli


search Google

https://www.google.com/#q=D2DSampleInputAtPosition