Crate hotline_rs

Source

Modules§

av
Hardware accelerated audio and video decoding.
client
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.
gfx
Graphics and compute abstraction module.
image
Image reading/writing module support for (png, jpg, bmp, tiff, dds).
imdraw
Immediate mode primitive rendering API.
imgui
Imgui rendering and platform implementation.
os
Operating system module (Windows, Application, Input).
plugin
Trait’s and macros to assist the creation of plugins in other dynamically loaded libraries
pmfx
High level graphics (data driven render pipelines, shaders, views).
prelude
primitives
Primitive geometry meshes (quad, cube, sphere, etc).
reloader
Module to aid data / code file watching, rebuilding and reloading

Macros§

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

Structs§

Error
Generic errors for modules to define their own

Functions§

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