Ian Chamberlain
2 years ago
1 changed files with 10 additions and 3 deletions
@ -1,11 +1,18 @@
@@ -1,11 +1,18 @@
|
||||
//! Definitions from `<c3d/renderqueue.h>`
|
||||
|
||||
use crate::*; |
||||
|
||||
#[inline] |
||||
pub unsafe fn C3D_RenderTargetDetachOutput(target: *mut C3D_RenderTarget) { |
||||
C3D_RenderTargetSetOutput(core::ptr::null_mut(), (*target).screen, (*target).side, 0); |
||||
} |
||||
|
||||
#[inline] |
||||
pub unsafe fn C3D_RenderTargetClear( |
||||
target: *mut crate::C3D_RenderTarget, |
||||
clearBits: crate::C3D_ClearBits, |
||||
target: *mut C3D_RenderTarget, |
||||
clearBits: C3D_ClearBits, |
||||
clearColor: u32, |
||||
clearDepth: u32, |
||||
) { |
||||
crate::C3D_FrameBufClear(&mut (*target).frameBuf, clearBits, clearColor, clearDepth); |
||||
C3D_FrameBufClear(&mut (*target).frameBuf, clearBits, clearColor, clearDepth); |
||||
} |
||||
|
Loading…
Reference in new issue