用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:renderbuffer:renderbuffer

RenderBuffer 渲染缓存区

struct in UnityEngine

Description 描述

Color or depth buffer part of a 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.

单一的渲染纹理对象表示颜色和深度缓冲区,但很多复杂的渲染算法需要使用相同的深度缓冲区与多个颜色缓冲区或反之亦然。

This class represents either a color or a depth buffer part of a RenderTexture.

此类表示一种颜色或渲染纹理深度缓冲部分。

Public Functions 公共函数

GetNativeRenderBufferPtrReturns native RenderBuffer. Be warned this is not native Texture, but rather pointer to unity struct that can be used with native unity API. Currently such API exists only on iOS.
返回本地RenderBuffer。警告这不是本地纹理,而是指向Unity结构,可以使用本地UnityAPI。目前只在iOS存在这样的API。
script/unityengine/classes/renderbuffer/renderbuffer.txt · 最后更改: 2016/08/02 05:25 (外部编辑)