Method CreateReflectionProbeRenderTarget
CreateReflectionProbeRenderTarget(int)
Create the texture used as target for a realtime reflection probe.
선언
[Obsolete("Use CreateReflectionProbeRenderTarget with explicit format instead", true)]
public static RenderTexture CreateReflectionProbeRenderTarget(int cubemapSize)
파라미터
타입 | 이름 | 설명 |
---|---|---|
int | cubemapSize | The cubemap size. |
반환
타입 | 설명 |
---|---|
RenderTexture | The texture to use as reflection probe target. |
CreateReflectionProbeRenderTarget(int, GraphicsFormat)
Create the texture used as target for a realtime reflection probe.
선언
public static RenderTexture CreateReflectionProbeRenderTarget(int cubemapSize, GraphicsFormat format)
파라미터
타입 | 이름 | 설명 |
---|---|---|
int | cubemapSize | The cubemap size. |
GraphicsFormat | format | The cubemap format. It must match the format set in the asset. |
반환
타입 | 설명 |
---|---|
RenderTexture | The texture to use as reflection probe target. |