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

Describes the resource mapping object entry. More...

#include <ResourceMapping.h>

Public Member Functions

constexpr ResourceMappingEntry (const Char *_Name, IDeviceObject *_pObject, Uint32 _ArrayIndex=0) noexcept
 Initializes the structure members.
 

Public Attributes

const Char * Name = nullptr
 Object name.
 
IDeviceObjectpObject = nullptr
 Pointer to the object's interface.
 
Uint32 ArrayIndex = 0
 For array resources, index in the array.
 

Detailed Description

Describes the resource mapping object entry.

Constructor & Destructor Documentation

◆ ResourceMappingEntry()

Diligent::ResourceMappingEntry::ResourceMappingEntry ( const Char * _Name,
IDeviceObject * _pObject,
Uint32 _ArrayIndex = 0 )
inlineconstexprnoexcept

Initializes the structure members.

Parameters
[in]_Name- Object name.
[in]_pObject- Pointer to the object.
[in]_ArrayIndex- For array resources, index in the array