2022-07-03 05:08:47 +00:00
|
|
|
// Compile-time settings for Vulkan.
|
|
|
|
|
|
|
|
pub const app_name = "efemra";
|
|
|
|
pub const engine_name = "efemra";
|
|
|
|
|
|
|
|
pub const khronos_layer_on = true;
|
|
|
|
pub const assist_layer_on = true;
|
|
|
|
pub const messenger_on = true;
|
|
|
|
pub const rt_on = false;
|
2022-07-06 08:57:21 +00:00
|
|
|
pub const hdr_on = true;
|
2022-07-06 04:23:50 +00:00
|
|
|
|
|
|
|
pub fn OnlyIf(comptime setting: bool, t: anytype) t {
|
|
|
|
return if (setting) t else void;
|
|
|
|
}
|