Revert "feat(render): Campaign V slice V4c - move the world draw path onto the RHI"
This reverts commit f353fb53f8.
This commit is contained in:
parent
b537f3a952
commit
543bc79f8a
8 changed files with 1172 additions and 1215 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -171,23 +171,6 @@ public sealed class GlobalMeshBuffer : IDisposable
|
|||
|
||||
/// <summary>The index store's raw GL name. See <see cref="VBO"/>.</summary>
|
||||
public uint IBO => _indexBuffer is null ? 0u : RequireGlBuffer(_indexBuffer).GlName;
|
||||
|
||||
/// <summary>
|
||||
/// The vertex store as the arena actually owns it. Campaign V slice V4c's
|
||||
/// draw paths bind this through <c>IGpuPassEncoder.BindVertexBuffer</c>;
|
||||
/// its layout is already byte-identical to
|
||||
/// <c>GpuVertexLayout.WorldMesh</c> (32-byte stride, locations 0/1/2 at
|
||||
/// offsets 0/12/24 — see <see cref="ConfigureVertexAttributes"/>), so the
|
||||
/// pipeline's own VAO describes the same vertices this arena packs.
|
||||
///
|
||||
/// <see cref="VBO"/>/<see cref="IBO"/> survive alongside these because
|
||||
/// <c>ParticleRenderer</c> and <c>ObjectMeshManager</c> still bind the raw
|
||||
/// names; that bridge retires with them, not with this slice.
|
||||
/// </summary>
|
||||
internal IGpuBuffer? VertexStore => _vertexBuffer;
|
||||
|
||||
/// <summary>The index store as the arena owns it. See <see cref="VertexStore"/>.</summary>
|
||||
internal IGpuBuffer? IndexStore => _indexBuffer;
|
||||
internal long UploadCount { get; private set; }
|
||||
internal long UploadedBytes { get; private set; }
|
||||
internal long CapacityBytes =>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue