Complete all Vulkan wrappers. Maybe worth it.
This commit is contained in:
@@ -39,14 +39,7 @@ pub const InitInfo = struct {
|
||||
per_batch_descriptor_set_layout: vk.DescriptorSetLayout,
|
||||
};
|
||||
|
||||
pub const Neighbors = struct {
|
||||
positive_x: ?*const Chunk,
|
||||
negative_x: ?*const Chunk,
|
||||
positive_y: ?*const Chunk,
|
||||
negative_y: ?*const Chunk,
|
||||
positive_z: ?*const Chunk,
|
||||
negative_z: ?*const Chunk,
|
||||
};
|
||||
pub const Neighbors = std.enums.EnumFieldStruct(voxels.Orientation, ?*const Chunk, null);
|
||||
|
||||
pub fn init(engine: *Engine, init_info: InitInfo) !Chunk {
|
||||
const descriptor_set = try engine.allocateDescriptorSet(.{
|
||||
|
||||
Reference in New Issue
Block a user