MCPcopy Create free account
hub / github.com/TheRealMJP/DXRPathTracer / IBView

Method IBView

SampleFramework12/v1.02/Graphics/GraphicsTypes.cpp:774–782  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

772}
773
774D3D12_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
784void* FormattedBuffer::Map()
785{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected