用户工具

站点工具


侧边栏

script:unityengine:classes:rendersettings:rendertargetsetup.rendertargetsetup

RenderTargetSetup.RenderTargetSetup 渲染目标设置

JavaScript ⇒public RenderTargetSetup(color: RenderBuffer, depth: RenderBuffer)
JavaScript ⇒public RenderTargetSetup(color: RenderBuffer, depth: RenderBuffer, mipLevel: int)
JavaScript ⇒public RenderTargetSetup(color: RenderBuffer, depth: RenderBuffer, mipLevel: int, face: CubemapFace)
JavaScript ⇒public RenderTargetSetup(color: RenderBuffer[], depth: RenderBuffer)
JavaScript ⇒public RenderTargetSetup(color: RenderBuffer[], depth: RenderBuffer, mipLevel: int)
JavaScript ⇒public RenderTargetSetup(color: RenderBuffer[], depth: RenderBuffer, mip: int, face: CubemapFace)

C# ⇒ public RenderTargetSetup(RenderBuffer color, RenderBuffer depth);
C# ⇒ public RenderTargetSetup(RenderBuffer color, RenderBuffer depth, int mipLevel);
C# ⇒ public RenderTargetSetup(RenderBuffer color, RenderBuffer depth, int mipLevel, CubemapFace face);
C# ⇒ public RenderTargetSetup(RenderBuffer [] color, RenderBuffer depth);
C# ⇒ public RenderTargetSetup(RenderBuffer[] color, RenderBufferdepth, int mipLevel);
C# ⇒ public RenderTargetSetup(RenderBuffer[] color, RenderBuffer depth, int mip, CubemapFace face);

Parameters 参数

colorColor Buffer(s) to set.
depthDepth Buffer to set.
mipLevelMip Level to render to.
faceCubemap face to render to.

Description 描述

Constructs RenderTargetSetup.

渲染目标构造。

rendertargetsetup

script/unityengine/classes/rendersettings/rendertargetsetup.rendertargetsetup.txt · 最后更改: 2016/08/02 05:35 (外部编辑)