Diligent Engine
Loading...
Searching...
No Matches
Diligent::IRadientMeshVertexData Struct Reference

#include <RadientMeshImportServices.h>

Inheritance diagram for Diligent::IRadientMeshVertexData:
Diligent::IRadientAsset Diligent.IObject

Additional Inherited Members

Public Member Functions inherited from Diligent::IRadientAsset
virtual const RadientAssetReference &DILIGENT_CALL_TYPE GetReference () const =0
 Returns the asset reference identity.
virtual RADIENT_ASSET_TYPE DILIGENT_CALL_TYPE GetType () const =0
 Returns the concrete asset type.
Public Member Functions inherited from Diligent.IObject
virtual void DILIGENT_CALL_TYPE QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0
 Queries the specific interface.
template<typename DerivedType, typename = typename std::enable_if<std::is_base_of<IObject, DerivedType>::value>::type>
void QueryInterface (const INTERFACE_ID &IID, DerivedType **ppInterface)
virtual ReferenceCounterValueType DILIGENT_CALL_TYPE AddRef ()=0
 Increments the number of strong references by 1.
virtual ReferenceCounterValueType DILIGENT_CALL_TYPE Release ()=0
virtual IReferenceCounters *DILIGENT_CALL_TYPE GetReferenceCounters () const =0

Detailed Description

Immutable, reusable vertex data created by IRadientMeshImportServices.

GetType returns RADIENT_ASSET_TYPE_MESH_VERTEX_DATA. This handle can be passed to CreateMeshView and the associated asset manager's WaitForAssetLoad. Retaining the handle retains the processed data, not a CPU copy of the source vertices. WaitForAssetLoad success does not guarantee GPU resource or upload completion.