gpu: add getProcAddress
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
c0ad349a12
commit
2d6dbd3351
3 changed files with 17 additions and 2 deletions
|
|
@ -44,6 +44,10 @@ const query_set = @import("query_set.zig");
|
|||
const texture_view = @import("texture_view.zig");
|
||||
const surface = @import("surface.zig");
|
||||
|
||||
/// Generic function pointer type, used for returning API function pointers. Must be
|
||||
/// cast to a `fn (...) callconv(.C) T` before use.
|
||||
pub const Proc = *anyopaque;
|
||||
|
||||
pub const ComputePassTimestampWrite = extern struct {
|
||||
query_set: query_set.QuerySet,
|
||||
query_index: u32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue