renderer-mvp/asset-pipeline #53
No reviewers
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: kayomn/ona#53
Loading…
Reference in New Issue
No description provided.
Delete Branch "renderer-mvp/asset-pipeline"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -7,3 +7,3 @@
const std = @import("std");
pub const Byte = u8;
pub const Writable = struct {
Unused addition.
@ -54,3 +54,3 @@
std.debug.assert(try self.table.emplace(value_id, .{
.ptr = allocated_resource,
.ptr = @ptrCast(allocated_resource),
Bad idea to forcibly convert non-trivial downcasts like
**opaque
actually@ -15,0 +26,4 @@
};
};
pub fn open_file(self: *Assets, path: []const u8) (std.mem.Allocator.Error || Format.Error)!Handle {
Wants to accept the desired storage source as an argument for loading resources from non-bundled locations like user storage or caller-defined storage implementations.
WIP: renderer-mvp/asset-pipelineto renderer-mvp/asset-pipeline