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

Method IBView

SampleFramework12/v1.00/Graphics/GraphicsTypes.cpp:640–648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

638}
639
640D3D12_INDEX_BUFFER_VIEW FormattedBuffer::IBView() const
641{
642 Assert_(Format == DXGI_FORMAT_R16_UINT || Format == DXGI_FORMAT_R32_UINT);
643 D3D12_INDEX_BUFFER_VIEW ibView = { };
644 ibView.BufferLocation = GPUAddress;
645 ibView.Format = Format;
646 ibView.SizeInBytes = uint32(InternalBuffer.Size);
647 return ibView;
648}
649
650void* FormattedBuffer::Map()
651{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected