Diligent Engine
Loading...
Searching...
No Matches
Diligent::RadientDrawList Class Reference

#include <RadientDrawList.hpp>

Public Member Functions

RadientDrawableID RemoveAt (size_t Index)

Detailed Description

Compact list of drawable IDs selected for a render pass subset.

A draw list does not own drawable data and does not preserve semantic order. Removal uses swap-erase; RemoveAt returns the moved drawable ID so RadientSceneDrawableCache can repair the moved slot's DrawListIndex.

Member Function Documentation

◆ RemoveAt()

RadientDrawableID Diligent::RadientDrawList::RemoveAt ( size_t Index)

Removes the item at the specified index using swap-erase and returns the moved drawable ID, or InvalidRadientDrawableID if no item was moved (i.e. the removed item was the last one).