Sampling textures in HLSL. Define a texture global variable. ◦ Texture2D MyTexture;. ◦ Set its value in C#. Then we define a texture sampler.
確定! 回上一頁