Version: 2023.2

RenderTargetSetupConstructor

切换到手册
public RenderTargetSetup (RenderBuffer color, RenderBuffer depth);
public RenderTargetSetup (RenderBuffer color, RenderBuffer depth, int mipLevel);
public RenderTargetSetup (RenderBuffer color, RenderBuffer depth, int mipLevel, CubemapFace face);
public RenderTargetSetup (RenderBuffer[] color, RenderBuffer depth);
public RenderTargetSetup (RenderBuffer[] color, RenderBuffer depth, int mipLevel);
public RenderTargetSetup (RenderBuffer[] color, RenderBuffer depth, int mip, CubemapFace face);

参数

color 要设置的颜色缓冲区。
depth 要设置的深度缓冲区。
mipLevel 要渲染到的 Mip 级别。
face 要渲染到的立方体贴图面。

描述

构造 RenderTargetSetup。