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

Method VBView

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

Source from the content-addressed store, hash-verified

484}
485
486D3D12_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
496void* StructuredBuffer::Map()
497{

Callers

nothing calls this directly

Calls 1

ReadyForBindingMethod · 0.80

Tested by

no test coverage detected