Diligent Engine  v.2.4.g
Typedefs | Functions
Diligent::DXBCUtils Namespace Reference

Typedefs

using BindInfo = ResourceBinding::BindInfo
 
using TResourceBindingMap = ResourceBinding::TMap
 

Functions

bool RemapResourceBindings (const TResourceBindingMap &ResourceMap, void *pBytecode, size_t Size)
 Remaps resource bindings in the given DXBC byte code. More...
 

Typedef Documentation

◆ BindInfo

◆ TResourceBindingMap

Function Documentation

◆ RemapResourceBindings()

bool Diligent::DXBCUtils::RemapResourceBindings ( const TResourceBindingMap ResourceMap,
void *  pBytecode,
size_t  Size 
)

Remaps resource bindings in the given DXBC byte code.

Parameters
[in]ResourceMap- Resource binding map. For every resource in the byte code it must define the binding (shader register).
[in,out]pBytecode- Byte code that will be patched.