Class RenderTextureTranscoder
The role of this class is to share everything common to all transcoder that take a RenderTexture as input to produce a RenderTexture as output.
One must understand when the gamma correction should be applied.The image processing pipeline works with linear color by default.
The only place where the gamma correction is automatically applied is in the tone mapping node. If one output a render texture, he must
consider to create an output RenderTexture with a sRGB support. (see color space parameter on PrepareOutputBuffer())
Inherited Members
NodeRuntime._parent
NodeRuntime._portList
NodeRuntime._queryPath
NodeRuntime._tickCPUTimeNs
NodeRuntime.Initialize(SystemGraphComponent)
NodeRuntime.Enable(Scheduler.ClockState)
NodeRuntime.Disable()
NodeRuntime.FixedUpdate()
NodeRuntime.InitializeDynamicPorts(SystemGraphComponent)
Namespace: Mechatronics.SensorSDK
Assembly: solution.dll
Syntax
public abstract class RenderTextureTranscoder : Transcoder
Fields
Name | Description |
---|---|
_outputBuffer | Internal reference to the RenderTexture written on the port outRenderTexture. |
inRenderTexture | |
outRenderTexture |
Methods
Name | Description |
---|---|
PrepareOutputBuffer(int, int, RenderTextureFormat, RenderTextureReadWrite) | Create or resize the compute buffer used to store transcoded data. |
Release() | Release graphics resources |