Method ImportBuffer
ImportBuffer(GraphicsBuffer, bool)
Import an external Graphics Buffer to the Render Graph Any pass writing to an imported graphics buffer will be considered having side effects and can't be automatically culled.
Declaration
public BufferHandle ImportBuffer(GraphicsBuffer graphicsBuffer, bool forceRelease = false)
Parameters
Type | Name | Description |
---|---|---|
GraphicsBuffer | graphicsBuffer | External Graphics Buffer that needs to be imported. |
bool | forceRelease | The imported graphics buffer will be released after usage. |
Returns
Type | Description |
---|---|
BufferHandle | A new GraphicsBufferHandle. |