Version: 2020.2
言語: 日本語
public Rendering.TextureDimension dimension ;

説明

レンダーテクスチャの次元 (形式)

By default render textures are "2D" type, but it is also possible to have Cubemap or 3D render textures by changing dimension before they are created.

Cubemap render textures are most often used for dynamic cubemap reflections, see Camera.RenderToCubemap. A cubemap render texture must have the same width and height, and must be power of two size.

3D (ボリューム) レンダーテクスチャは現在、コンピュートシェーダーが可能なプラットフォーム ( UsingDX11GL3Features 参照)でのみ作動します。ピクセルシェーダーやコンピュートシェーダーから "random access writes" を使ってそれらにレンダリングすることができます。volumeDepth を使って 3D 深度を設定し、enableRandomWrite でそれらへ任意の書き込みを可能にします。

See Also: TextureDimension.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961