| 772 | } |
| 773 | |
| 774 | D3D12_INDEX_BUFFER_VIEW FormattedBuffer::IBView() const |
| 775 | { |
| 776 | Assert_(Format == DXGI_FORMAT_R16_UINT || Format == DXGI_FORMAT_R32_UINT); |
| 777 | D3D12_INDEX_BUFFER_VIEW ibView = { }; |
| 778 | ibView.BufferLocation = GPUAddress; |
| 779 | ibView.Format = Format; |
| 780 | ibView.SizeInBytes = uint32(InternalBuffer.Size); |
| 781 | return ibView; |
| 782 | } |
| 783 | |
| 784 | void* FormattedBuffer::Map() |
| 785 | { |
nothing calls this directly
no outgoing calls
no test coverage detected