| 484 | } |
| 485 | |
| 486 | D3D12_VERTEX_BUFFER_VIEW StructuredBuffer::VBView() const |
| 487 | { |
| 488 | Assert_(InternalBuffer.ReadyForBinding()); |
| 489 | D3D12_VERTEX_BUFFER_VIEW vbView = { }; |
| 490 | vbView.BufferLocation = GPUAddress; |
| 491 | vbView.StrideInBytes = uint32(Stride); |
| 492 | vbView.SizeInBytes = uint32(InternalBuffer.Size); |
| 493 | return vbView; |
| 494 | } |
| 495 | |
| 496 | void* StructuredBuffer::Map() |
| 497 | { |
nothing calls this directly
no test coverage detected