Objects and components #6
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It may be nice to create a
QTKO
base class for all object-like classes that can exist in a scene. This object should provide the basic features required to describe the object, such as Name, Type (MeshRenderer, Mesh, Model, etc), QDebug display formatting, and so on.This class should not contain more specific features, such as retrieving shader source code, shader type, etc. It's meant to be as generic as possible, a sort-of a metadata like class that just provides context on what it is and nothing else.
Similarly, a
QTKC
base class for all component-like classes that can be attached to objects. This could provide better organization and make it easy to implement useful functionality or state in the future to extend object behavior.This would ideally be separated into two separate PRs to keep the changes smaller. This is simple conceptually but it will require tweaking on lots of Qt connections, signals, and slots. This will also require working across libqtk and the desktop application.