Skip to main content

Module resources

Module resources 

Source
Expand description

Automatic resource management for the render graph.

Provides resource descriptors, transient/imported resources, pooling with frame-based lifetime tracking, resource aliasing, versioning for read-after-write hazard detection, and memory budget estimation.

Structs§

DanglingResource
A resource that is improperly connected.
ImportedResource
An externally-managed resource brought into the render graph.
MemoryBudget
Memory budget estimate.
PhysicalResource
Runtime state of a concrete GPU allocation.
PoolFrameStats
Per-frame resource pool statistics.
ResourceDescriptor
Full description of a GPU resource.
ResourceHandle
Opaque handle to a resource in the graph.
ResourcePool
Manages physical resources with frame-based lifetime tracking. Reuses allocations between frames when descriptors match.
ResourceTable
Bookkeeping structure used while constructing a render graph. Maps logical resource names to handles and descriptors.
ResourceTableEntry
ResourceVersionChain
Tracks all versions of a single logical resource within one frame, enabling read-after-write hazard detection.
TransientResource
A transient resource that is created at first use and destroyed after last use within a single frame. This is a convenience wrapper; the actual lifetime management is performed by ResourcePool.

Enums§

DanglingKind
ResourceLifetime
Whether a resource is managed by the graph or externally.
SizePolicy
Description of the dimensions / scale of a texture.
TextureFormat
Pixel / data format for textures and buffers.
UsageFlags
How a resource can be bound in a pass.