お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Closeテクスチャパラメーターを設定します。
この関数により Compute Shader の中に読み込む通常のテクスチャを設定するか、 またはシェーダにより書き込みされたテクスチャを出力できます。 出力テクスチャの場合、ランダム書き込みフラグを有効にした RenderTexture とする必要があります。 詳しくは、RenderTexture.enableRandomWriteを参照してください。 See Also: FindKernel, RenderTexture.enableRandomWrite.