Version: 2019.4

RenderBuffer

struct in UnityEngine

マニュアルに切り替える

説明

RenderTexture の中のカラーとデプスバッファ部分。

A single RenderTexture object represents both color and depth buffers, but many complex rendering algorithms require using the same depth buffer with multiple color buffers or vice versa.

このクラスは RenderTexture の中のカラーとデプスバッファ部分を表現します。

See Also: RenderTexture.colorBuffer, RenderTexture.depthBuffer, Graphics.activeColorBuffer, Graphics.activeDepthBuffer, Graphics.SetRenderTarget.

Public 関数

GetNativeRenderBufferPtrネイティブの RenderBuffer を返します。これはネイティブのテクスチャではない、と警告しますが、むしろ、ネイティブの Unity API で使用できる Unity の構造体へのポインターです。現在このような API は iOS のみにあります。