Version: 2020.1
언어: 한국어

CameraEvent

enumeration

매뉴얼로 전환

설명

Defines a place in camera's rendering to attach CommandBuffer objects to.

Unity's rendering loop can be extended by adding so called "command buffers" at various points in camera rendering. For example, you could add some custom geometry to be drawn right after the skybox is drawn.

See Also: CommandBuffer, LightEvent, command buffers overview.

변수

BeforeDepthTextureBefore camera's depth texture is generated.
AfterDepthTextureAfter camera's depth texture is generated.
BeforeDepthNormalsTextureBefore camera's depth+normals texture is generated.
AfterDepthNormalsTextureAfter camera's depth+normals texture is generated.
BeforeGBufferBefore deferred rendering G-buffer is rendered.
AfterGBufferAfter deferred rendering G-buffer is rendered.
BeforeLightingBefore lighting pass in deferred rendering.
AfterLightingAfter lighting pass in deferred rendering.
BeforeFinalPassBefore final geometry pass in deferred lighting.
AfterFinalPassAfter final geometry pass in deferred lighting.
BeforeForwardOpaqueBefore opaque objects in forward rendering.
AfterForwardOpaqueAfter opaque objects in forward rendering.
BeforeImageEffectsOpaqueBefore image effects that happen between opaque & transparent objects.
AfterImageEffectsOpaqueAfter image effects that happen between opaque & transparent objects.
BeforeSkyboxBefore skybox is drawn.
AfterSkyboxAfter skybox is drawn.
BeforeForwardAlphaBefore transparent objects in forward rendering.
AfterForwardAlphaAfter transparent objects in forward rendering.
BeforeImageEffectsBefore image effects.
AfterImageEffectsAfter image effects.
AfterEverythingAfter camera has done rendering everything.
BeforeReflectionsBefore reflections pass in deferred rendering.
AfterReflectionsAfter reflections pass in deferred rendering.
BeforeHaloAndLensFlaresBefore halo and lens flares.
AfterHaloAndLensFlaresAfter halo and lens flares.