Class RenderStackEditor

Inheritance Relationships

Base Type

Class Documentation

class RenderStackEditor : public Blam::DebugUI::ImGUIDrawingGroup

Class for the Render Stack Editor.

This is currently the most complete utility within Blamite’s current list of ImGUI windows. It allows for modification of the render stack. You can add, remove, and move around various render stack entries.

Most understanding of this utility will require understanding of the render stack itself.

[ ] selection border to show whats being edited rn (green) and ability to toggle it [ ] show memory addresses of objects in info tab [x] fucking rectangles [ ] fucking more shapes already

See

BlamRendering::RenderStack

Public Functions

RenderStackEditor()

used by bitmap_text only ///

used by bitmap only /// Empty constructor.

~RenderStackEditor()

Empty destructor.

void Draw()

Draws the render stack editor dialog, as well as any active popups if need be.

void SelectItem(int index, StackObjectBase *obj)

Changes the selected item and stack object.

Parameters
  • index: - The index of the active item in the render stack.

  • obj: - Pointer to the specified object.

void PropertyView()

Shows the property view controls, base controls, and any controls specific to the active render stack item.

void BasePropertiesTab()

Shows properties that are part of BlamRendering::RenderStack::StackObjectBase.

void DeleteImGuiObjectPopup()

Shows a confirmation dialog when trying to delete the ImGUI stack object.

void IndexOutOfBoundsPopup()

Shows a warning dialog indicating that the selected render stack index was out of bounds.

This is displayed when the user tries to delete an object and the index is invalid. Most likely cause would be trying to delete when no object is selected.

void UnreciognizedTypePopup()

Shows a warning dialog indicating that the user tried to add a new unknown stack type to the render stack.

This is shown when the user tries to add an item to the render stack, but the type has not been added to the render stack editor’s Add functionality.

void InvalidTypePopup()

Shows a warning dialog indicating that the selected render stack type is invalid.

This can happen when the user tries to add ImGUI a second time, or when the user tries to add a generic StackObject - which has no functionality on its own.