| 34 | #include "scene_graph/node.h" |
| 35 | |
| 36 | AFBCSample::AFBCSample() |
| 37 | { |
| 38 | // Extension that may be used to query if AFBC is enabled |
| 39 | add_device_extension(VK_EXT_IMAGE_COMPRESSION_CONTROL_EXTENSION_NAME, true); |
| 40 | |
| 41 | auto &config = get_configuration(); |
| 42 | |
| 43 | config.insert<vkb::BoolSetting>(0, afbc_enabled, false); |
| 44 | config.insert<vkb::BoolSetting>(1, afbc_enabled, true); |
| 45 | } |
| 46 | |
| 47 | bool AFBCSample::prepare(const vkb::ApplicationOptions &options) |
| 48 | { |
nothing calls this directly
no outgoing calls
no test coverage detected