Nameless Engine
Loading...
Searching...
No Matches
ne::ShaderCpuWriteResourceBindingManager::Resources Struct Reference

#include <ShaderCpuWriteResourceBindingManager.h>

Public Attributes

std::unordered_map< ShaderCpuWriteResourceBinding *, std::unique_ptr< ShaderCpuWriteResourceBinding > > all
 
std::array< std::unordered_set< ShaderCpuWriteResourceBinding * >, FrameResourceManager::getFrameResourceCount()> vToBeUpdated
 

Detailed Description

Groups shader CPU write resources.

Member Data Documentation

◆ all

std::unordered_map<ShaderCpuWriteResourceBinding*, std::unique_ptr<ShaderCpuWriteResourceBinding> > ne::ShaderCpuWriteResourceBindingManager::Resources::all

All shader CPU write resources.

Remarks
Storing pairs of "raw pointer" - "unique pointer" to quickly find needed resources when need to destroy some resource given a raw pointer.

◆ vToBeUpdated

std::array< std::unordered_set<ShaderCpuWriteResourceBinding*>, FrameResourceManager::getFrameResourceCount()> ne::ShaderCpuWriteResourceBindingManager::Resources::vToBeUpdated

Shader CPU write resources that needs to be updated.


The documentation for this struct was generated from the following file: