gpu: add CreateRenderPipelineAsyncCallback
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
4bf198b35e
commit
84f0a1c4b3
2 changed files with 8 additions and 1 deletions
|
|
@ -44,6 +44,7 @@ const query_set = @import("query_set.zig");
|
|||
const texture_view = @import("texture_view.zig");
|
||||
const surface = @import("surface.zig");
|
||||
const compute_pipeline = @import("compute_pipeline.zig");
|
||||
const render_pipeline = @import("render_pipeline.zig");
|
||||
|
||||
/// Generic function pointer type, used for returning API function pointers. Must be
|
||||
/// cast to a `fn (...) callconv(.C) T` before use.
|
||||
|
|
@ -56,6 +57,13 @@ pub const CreateComputePipelineAsyncCallback = fn (
|
|||
userdata: *anyopaque,
|
||||
) callconv(.C) void;
|
||||
|
||||
pub const CreateRenderPipelineAsyncCallback = fn (
|
||||
status: types.CreatePipelineAsyncStatus,
|
||||
pipeline: render_pipeline.RenderPipeline,
|
||||
message: [*:0]const u8,
|
||||
userdata: *anyopaque,
|
||||
) callconv(.C) void;
|
||||
|
||||
pub const ComputePassTimestampWrite = extern struct {
|
||||
query_set: query_set.QuerySet,
|
||||
query_index: u32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue