1
0
Fork 0
forked from vv/efemra
efemra/src/rendering/vulkan/settings.zig

15 lines
348 B
Zig
Raw Normal View History

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;
pub const hdr_on = true;
pub fn OnlyIf(comptime setting: bool, t: anytype) t {
return if (setting) t else void;
}