你可以通过使用SampleGrad函数来获得相同的结果,并自己提供衍生产品: float4 textureColor = myTexture.SampleGrad(mySampler, myTexCoord.xy, derivX, derivY);.
確定! 回上一頁