Method CreateBuffer
CreateBuffer(in BufferDesc)
Create a new Render Graph Graphics Buffer resource.
Declaration
public BufferHandle CreateBuffer(in BufferDesc desc)
Parameters
Type | Name | Description |
---|---|---|
BufferDesc | desc | Graphics Buffer descriptor. |
Returns
Type | Description |
---|---|
BufferHandle | A new GraphicsBufferHandle. |
CreateBuffer(in BufferHandle)
Create a new Render Graph Graphics Buffer resource using the descriptor from another graphics buffer.
Declaration
public BufferHandle CreateBuffer(in BufferHandle graphicsBuffer)
Parameters
Type | Name | Description |
---|---|---|
BufferHandle | graphicsBuffer | Graphics Buffer from which the descriptor should be used. |
Returns
Type | Description |
---|---|
BufferHandle | A new GraphicsBufferHandle. |