Method CreateTransientBuffer
CreateTransientBuffer(in BufferDesc)
Create a new Render Graph Graphics Buffer resource. This Graphics Buffer will only be available for the current pass and will be assumed to be both written and read so users don't need to add explicit read/write declarations.
Declaration
public BufferHandle CreateTransientBuffer(in BufferDesc desc)
Parameters
Type | Name | Description |
---|---|---|
BufferDesc | desc | Graphics Buffer descriptor. |
Returns
Type | Description |
---|---|
BufferHandle | A new transient GraphicsBufferHandle. |
CreateTransientBuffer(in BufferHandle)
Create a new Render Graph Graphics Buffer resource using the descriptor from another Graphics Buffer. This Graphics Buffer will only be available for the current pass and will be assumed to be both written and read so users don't need to add explicit read/write declarations.
Declaration
public BufferHandle CreateTransientBuffer(in BufferHandle graphicsbuffer)
Parameters
Type | Name | Description |
---|---|---|
BufferHandle | graphicsbuffer | Graphics Buffer from which the descriptor should be used. |
Returns
Type | Description |
---|---|
BufferHandle | A new transient GraphicsBufferHandle. |