Cargo Features
[dependencies]
objc2-compositor-services = { version = "0.3.0", default-features = false, features = ["std", "alloc", "bitflags", "objc2-core-foundation", "objc2-metal", "cp_error", "cp_types", "drawable", "frame", "frame_timing", "layer_renderer", "layer_renderer_capabilities", "layer_renderer_configuration", "layer_renderer_layout", "layer_renderer_properties", "view"] }
- default = bitflags, cp_base, cp_error, cp_types, drawable, frame, frame_timing, layer_renderer, layer_renderer_capabilities, layer_renderer_configuration, layer_renderer_layout, layer_renderer_properties, objc2-core-foundation, objc2-metal, std, view
-
These default features are set whenever
objc2-compositor-services
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
- bitflags default layer_renderer_capabilities
-
Enables bitflags
- objc2-core-foundation default
-
Enables objc2-core-foundation
Affects
cp_error::cp_layer_renderer_configuration_error_domain
,cp_error::cp_layer_renderer_configuration_error_code
,cp_types::cp_time_to_cf_time_interval
,layer_renderer_properties::cp_layer_renderer_properties_create_using_configuration
… - objc2-metal default
-
Enables objc2-metal
Affects
drawable::cp_drawable_get_depth_texture
,drawable::cp_drawable_get_color_texture
,drawable::cp_drawable_get_rasterization_rate_map
,drawable::cp_drawable_get_flipped_rasterization_rate_map
,drawable::cp_drawable_encode_present
,layer_renderer::cp_layer_renderer_get_device
,layer_renderer_capabilities::cp_layer_renderer_capabilities_supported_color_format
,layer_renderer_capabilities::cp_layer_renderer_capabilities_supported_depth_format
,layer_renderer_configuration::cp_layer_renderer_configuration_get_color_format
,layer_renderer_configuration::cp_layer_renderer_configuration_set_color_format
,layer_renderer_configuration::cp_layer_renderer_configuration_get_color_usage
,layer_renderer_configuration::cp_layer_renderer_configuration_set_color_usage
,layer_renderer_configuration::cp_layer_renderer_configuration_get_depth_format
,layer_renderer_configuration::cp_layer_renderer_configuration_set_depth_format
,layer_renderer_configuration::cp_layer_renderer_configuration_get_depth_usage
,layer_renderer_configuration::cp_layer_renderer_configuration_set_depth_usage
,layer_renderer_properties::cp_texture_topology_get_texture_type
,view::cp_view_texture_map_get_viewport
… - cp_base cp_error default
- cp_types default
-
Affects
drawable::cp_drawable_get_presentation_frame_index
,frame::cp_frame_get_frame_index
,frame_timing::cp_frame_timing_get_optimal_input_time
,frame_timing::cp_frame_timing_get_rendering_deadline
,frame_timing::cp_frame_timing_get_presentation_time
,frame_timing::cp_frame_timing_get_trackable_anchor_time
… - drawable default
-
Affects
frame::cp_frame_query_drawable
… - frame default
-
Affects
layer_renderer::cp_layer_renderer_query_next_frame
… - frame_timing default
-
Affects
drawable::cp_drawable_get_frame_timing
,frame::cp_frame_predict_timing
… - layer_renderer default
- layer_renderer_capabilities default = bitflags
- layer_renderer_configuration default
-
Affects
layer_renderer::cp_layer_renderer_get_configuration
,layer_renderer_properties::cp_layer_renderer_properties_create_using_configuration
… - layer_renderer_layout default
-
Affects
layer_renderer_capabilities::cp_layer_renderer_capabilities_supported_layout
,layer_renderer_configuration::cp_layer_renderer_configuration_get_layout
,layer_renderer_configuration::cp_layer_renderer_configuration_set_layout
… - layer_renderer_properties default
-
Affects
layer_renderer::cp_layer_renderer_get_properties
… - view default
-
Affects
drawable::cp_drawable_get_view
…