Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Windows から Linux へのアプリケーションの移植に取り組んでおり、演算子 [] が HLSL で行うことと、GLSL に移植する方法を理解する必要があります。
次のようなコードがあります。
red = texture.Sample(sampler, uv)[x];
サンプル関数はピクセル値を返す必要がありますよね? xa は一種のオフセットですか?