Method PrepareOutputBuffer
PrepareOutputBuffer(int, int, RenderTextureFormat, RenderTextureReadWrite)
Create or resize the compute buffer used to store transcoded data.
Declaration
protected virtual void PrepareOutputBuffer(int frameWidth, int frameHeight, RenderTextureFormat format, RenderTextureReadWrite colorSpace = RenderTextureReadWrite.Linear)
Parameters
| Type | Name | Description |
|---|---|---|
| int | frameWidth | Horizontal size in pixel. |
| int | frameHeight | Horizontal size in pixel. |
| RenderTextureFormat | format | Color encoding format. |
| RenderTextureReadWrite | colorSpace | Linear color space or gamma space. |