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

Stable identity of the logical resource and typed view used by a texture binding. More...

#include <RadientTextureAssetManager.hpp>

Public Attributes

Int32 StandaloneResourceId = 0
TEXTURE_FORMAT ViewFormat = TEX_FORMAT_UNKNOWN

Detailed Description

Stable identity of the logical resource and typed view used by a texture binding.

Member Data Documentation

◆ StandaloneResourceId

Int32 Diligent::RadientTextureBindingIdentity::StandaloneResourceId = 0

Unique device-object identifier for a standalone texture. Zero denotes an atlas binding: within one resource manager, ViewFormat uniquely identifies the corresponding typed atlas SRV.

◆ ViewFormat

TEXTURE_FORMAT Diligent::RadientTextureBindingIdentity::ViewFormat = TEX_FORMAT_UNKNOWN

Typed SRV format. This distinguishes, for example, linear and sRGB bindings that refer to the same underlying resource.