C language function:D2DSampleInputAtOffset sample codes

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


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


TITLE : HLSL Helpers (Windows)
float4 WINAPI D2DSampleInputAtOffset(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/dn879807(v=vs.85).aspx
TITLE : HLSL Helpers (Windows)
MIN_TYPE(float) dX1 = D2DSampleInputAtOffset(0, float2(1, 0));.......
http://msdn.microsoft.com/en-us/library/windows/desktop/dn879807(v=vs.85).aspx
TITLE : HLSL Helpers (Windows)
MIN_TYPE(float) dX2 = D2DSampleInputAtOffset(0, float2(-1, 0));.......
http://msdn.microsoft.com/en-us/library/windows/desktop/dn879807(v=vs.85).aspx
TITLE : HLSL Helpers (Windows)
MIN_TYPE(float) dY1 = D2DSampleInputAtOffset(0, float2(0, 1));.......
http://msdn.microsoft.com/en-us/library/windows/desktop/dn879807(v=vs.85).aspx
TITLE : HLSL Helpers (Windows)
MIN_TYPE(float) dY2 = D2DSampleInputAtOffset(0, float2(0, -1));.......
http://msdn.microsoft.com/en-us/library/windows/desktop/dn879807(v=vs.85).aspx
search Google

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