这个函数和sample差不多 不过没有samplestate和filter

http://msdn.microsoft.com/zh-cn/library/windows/desktop/bb509694(v=vs.85).aspx

texture2d.load(int3(uvInt, 0))

这样就采出了xyzw

要注意的是uvInt是0到texture2d width height的int不是(0,1)

相关文章:

  • 2022-12-23
  • 2021-11-05
  • 2021-10-23
  • 2021-12-06
  • 2021-12-11
  • 2021-08-09
  • 2021-07-05
  • 2021-12-02
猜你喜欢
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2021-06-24
  • 2022-01-19
  • 2021-09-07
  • 2021-05-04
相关资源
相似解决方案