github ConfettiFX/The-Forge v1.25
Release 1.25 - March 15th, 2019 - New Descriptor Memory Management System | Refactored Input System

latest releases: v1.57, v1.56, v1.55...
5 years ago
  • The purpose of the DescriptorBinder approach is to allocate all memory descriptor space at load time, instead of doing it on-demand at runtime, as it is commonly done. This is done in an effort to allow applications to have better control over memory footprint overhead, which is especially important on mobile targets, and to improve performance by avoiding runtime memory allocations.
    The system will use shader reflection to determine the appropriate descriptor layouts in combination with descriptor update frequency knowledge. This knowledge will come from the client domain or from content editor tools.
    With this information, we are able to allocate all necessary descriptor memory up-front, giving more control to the application about the memory footprint. This is one of the initiatives leading up to the new version of The Forge.
    Read more Descriptor Management

  • The input system was refactored and streamlined. This is mostly a rewrite of the code layer above gainput.

    • IOperatingSystem.h: getMousePosition, getKeyDown, getKeyUp, getJoystickButtonDown, getJoystickButtonUp were removed
    • InputSystem.h:
      • KeyMappingDescription - changed now every axis should be defined as separate entry
      • IsButtonPressed, IsButtonTriggered, IsButtonReleased, MapKey, SetActiveInputMap, GetButtonData, GetDisplayWidth, GetDisplayHeight, were removed
      • New functions GetBoolInput, GetFloatInput. KeyMappingDescription for new function require directly specifying intended action(released, pressed, triggered) via DEFINE_DEVICE_ACTION macro
      • For InputEventHandler old style definition is used

Don't miss a new The-Forge release

NewReleases is sending notifications on new releases.