ドキュメント

Unity Engine

Unity Engine

RandomWriteTarget

Allows random write access into this GraphicsTexture on Shader Model 5.0 level shaders.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

RandomWriteTarget = 2

Remarks

Allows Shader Model 5.0 level pixel or compute shaders to write into arbitrary locations on this texture, called "unordered access views" in UsingDX11GL3Features. Note that this flag does nothing if GraphicsTextureDescriptorFlags.RenderTarget is not also set. GraphicsTextureDescriptor.numSamples must be 1, as random write access is not compatible with anti-aliasing.
Additional Resources: RenderTexture.enableRandomWrite.