mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-23 16:01:04 +01:00
Create C example
This commit is contained in:
1 parent
d94d45cd80
commit
08ad0f40ed
16 files changed
+140
-90
No files matched your search
@@ -72,13 +72,13 @@ pub struct CommandBuffer<B: hal::Backend> {
|
||||
pub struct CommandBufferDescriptor;
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn command_buffer_begin_render_pass(
|
||||
pub extern "C" fn wgpu_command_buffer_begin_render_pass(
|
||||
command_buffer: CommandBufferId,
|
||||
) -> RenderPassId {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn command_buffer_begin_compute_pass() -> ComputePassId {
|
||||
pub extern "C" fn wgpu_command_buffer_begin_compute_pass() -> ComputePassId {
|
||||
unimplemented!()
|
||||
}
|
||||
Reference in new issue
Block a user