Тёмный

5. Shared pointers and memory lifetime 

Technically Games
Подписаться 833
Просмотров 1,9 тыс.
50% 1

Synopsis
We've had one session on pointers yes, but what about a second session on pointers? ;)
In Unreal Engine C++, we don't actually use raw pointers all that often. Instead, we use the shared pointer templates such as TSharedPtr so that the classes and structs we allocate are automatically reference counted.
This session covers everything you need to know about shared pointers in Unreal Engine C++, including how to allocate things with MakeShared, weak pointers with TWeakPtr and using TSharedFromThis.
Slides
junerhodes.au/...
Playlist
• Unreal Engine C++ Work...
Speaker
June Rhodes - She/Her
mastodon.socia...
June is the owner of Redpoint Games, where she develops multiplayer and online-focused plugins for the Unreal Engine Marketplace. June has over a decade of programming experience, and has been writing low level C++ code for Unreal Engine for the last few years.
Technically Games 2022
technicallygam...

Опубликовано:

 

29 мар 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
Use Arc Instead of Vec
15:21
Просмотров 148 тыс.
Master Pointers in C:  10X Your C Coding!
14:12
Просмотров 315 тыс.
Stop using std::vector wrong
23:14
Просмотров 107 тыс.
4. Everything to do with text
28:49
Просмотров 866
Go Pointers: When & How To Use Them Efficiently
14:09
11. UnrealBuildTool modules & linking third-party code
15:47
Being Competent With Coding Is More Fun
11:13
Просмотров 95 тыс.
Completely Get Rid of Null Using This Technique
25:28