Shared pointers and memory lifetime ðŸŸ
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.
June Rhodes
She/Her
@hq@mastodon.socialJune 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.
A series of ten 30-minute workshops throughout the day, this course will give you the skills to write Unreal Engine C++ code. We'll be covering everything from memory management through to exposing custom functionality in blueprints, and you can ask questions and engage with the speaker to learn more deeply about the topics you are interested in.