Crate hotline_rs

source ·

Modules

  • Hardware accelerated audio and video decoding.
  • Hotline clinet context contains an App, Device, SwapChain and main Window automatically setup It can load code dynamically from other dylibs or dlls abnd provides a very thin run loop for you to hook your own plugins into.
  • Graphics and compute abstraction module.
  • Image reading/writing module support for (png, jpg, bmp, tiff, dds).
  • Immediate mode primitive rendering API.
  • Imgui rendering and platform implementation.
  • Operating system module (Windows, Application, Input).
  • Trait’s and macros to assist the creation of plugins in other dynamically loaded libraries
  • High level graphics (data driven render pipelines, shaders, views).
  • Primitive geometry meshes (quad, cube, sphere, etc).
  • Module to aid data / code file watching, rebuilding and reloading

Macros

  • Macro to pass data![expression] or data![] (None) to a create function, so you don’t have to deduce a ‘T’.
  • Macro to instantiate a new hotline plugin, simply defined a concrete plugin type: struct EmptyPlugin;

Structs

  • Generic errors for modules to define their own

Functions

  • Returns the config name for the current configuration, this is useful to local items in target/debug
  • Return an absolute path for a resource given the relative resource name from the /data dir
  • Return an absolute path for a resource given the relative path from the /executable dir
  • Return an absolute path for a resource given the relative resource name from the /hotline-data/src_data dir