In Cg/HLSL, they must be passed explicitly from CPU to shader. ... What is the difference between a Sampler and an Image variables in GLSL?
確定! 回上一頁