Home -> VertexAttribute -> DataPersistenceFlags
Description
The DataPersistenceFlags enumeration describes how long existing vertex attribute data must remain valid after writes or draws. The flags are supplied when a vertex attribute object is constructed.
Members
| Name | Description | |
|---|---|---|
| PersistAlways |
Requires existing resource contents to remain valid until explicitly overwritten or the resource is destroyed.
|
|
| InvalidateExistingDataOnWrite |
Allows the renderer to discard previous contents when new data is written, which can reduce synchronization or copy costs when old contents are no longer needed.
|
|
| InvalidateExistingDataAfterDrawComplete |
Allows the renderer to discard resource contents after draw work that uses the data has completed, which can reduce memory pressure for transient data.
|