Click or drag to resize
AB4D logo

DXResourceBaseGetNextId Method

Get next Id as long that is unique for this application. This method is thread safe and can be called from any thread. When ResourceTracking is enabled the dxResource is collected by DXResourcesTracker.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public static long GetNextId(
	IDXResource dxResource
)

Parameters

dxResource  IDXResource
resource that will have this id (can be null). When ResourceTracking is enabled the this dxResource is collected by DXResourcesTracker.

Return Value

Int64
id as long
See Also