Struct CameraChannelInputs
The graphics inputs available to executing CameraSensorChannels.
Inherited Members
Namespace: UnityEngine.Perception.GroundTruth.Sensors
Assembly: Unity.Perception.Runtime.dll
Syntax
[MovedFrom("UnityEngine.Perception.GroundTruth")]
public struct CameraChannelInputs
Fields
camera
The camera rendering the CameraChannel<T>.
Declaration
public Camera camera
Field Value
Type | Description |
---|---|
Camera |
cameraColorBuffer
The camera's color buffer render target.
Declaration
public RenderTargetIdentifier cameraColorBuffer
Field Value
Type | Description |
---|---|
RenderTargetIdentifier |
cmd
The CommandBuffer to fill with graphics commands to generate a CameraChannel<T>'s output.
Declaration
public CommandBuffer cmd
Field Value
Type | Description |
---|---|
CommandBuffer |
ctx
The ScriptableRenderContext of the current frame.
Declaration
public ScriptableRenderContext ctx
Field Value
Type | Description |
---|---|
ScriptableRenderContext |
cullingResults
The culling results calculated from the rendering camera's perspective.
Declaration
public CullingResults cullingResults
Field Value
Type | Description |
---|---|
CullingResults |