Cargo Features

[dependencies]
cat_engine = { version = "1.0.0-alpha7", default-features = false, features = ["set_cursor_event", "wnd_proc_catch_panic", "audio", "extended_audio", "raw_audio", "simple_graphics", "texture_graphics", "text_graphics"] }
default = simple_graphics, text_graphics, texture_graphics, wnd_proc_catch_panic

These default features are set whenever cat_engine is added without default-features = false somewhere in the dependency tree.

set_cursor_event

Windows

Enables set_cursor_event of cat_engine_basement

Affects windows::AppWindowProcedure.set_cursor

wnd_proc_catch_panic default

Enables wnd_proc_catch_panic of cat_engine_basement

Affects windows::AppWindowProcedure.catch_panic

audio = cat_audio

AUDIO

extended_audio

Enables extended of cat_audio

raw_audio

Enables raw of cat_audio

simple_graphics default

GRAPHICS
plain objects

Affects graphics_2d::Graphics2DAttributes.simple_stack_vertices, graphics_2d::Graphics2DAttributes.simple_stack_indices, graphics_2d::Graphics2DAttributes.simple_stack_objects, graphics_2d::Graphics2DAttributes.simple_heap_vertex_frames, graphics_2d::Graphics2DAttributes.simple_heap_index_frames, graphics_2d::Graphics2DAttributes.simple_heap_objects, cat_engine::shapes

texture_graphics default

textures

Affects graphics_2d::Graphics2DAttributes.texture_stack_vertices, graphics_2d::Graphics2DAttributes.texture_stack_indices, graphics_2d::Graphics2DAttributes.texture_stack_objects, graphics_2d::Graphics2DAttributes.texture_heap_vertex_frames, graphics_2d::Graphics2DAttributes.texture_heap_index_frames, graphics_2d::Graphics2DAttributes.texture_heap_objects, cat_engine::texture

text_graphics default = ab_glyph_rasterizer, ttf-parser

text

Affects graphics_2d::Graphics2DAttributes.glyph_texture_size, cat_engine::text

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

ttf-parser text_graphics

Enables ttf-parser ^0.12.3

text

ab_glyph_rasterizer text_graphics
cat_audio audio? extended_audio? raw_audio?