| 626 | } |
| 627 | |
| 628 | void PTRenderer::initFrameData() |
| 629 | { |
| 630 | // Create a buffer to store frame data for each buffer. A single buffer can be used for this, |
| 631 | // as long as each section of the buffer is not written to while it is being used by the GPU. |
| 632 | size_t frameDataBufferSize = _FRAME_DATA_SIZE * _taskCount; |
| 633 | _frameDataBuffer = createTransferBuffer(frameDataBufferSize, "FrameData"); |
| 634 | } |
| 635 | |
| 636 | void PTRenderer::initRayGenShaderTable() |
| 637 | { |
nothing calls this directly
no outgoing calls
no test coverage detected