Skip to content

ResourceManager doesn't implement Reference Counting. #320

Description

@Kaminate

According to 04_resource_management.adoc,

When designing a resource management system, you’ll need to address several challenges:
3. Reference Counting - Track how many objects are using a resource to know when it can be safely unloaded.

This seems to be implemented as int ResourceManager::ResourceData::refCount, but it's never modified in 04_resource_management.adoc, and doesn't exist in resource_manager.h.

Metadata

Metadata

Assignees

Labels

Game EngineSpecific to the Simple Game Engine tutorial

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions