Function bgfx_rs::static_lib::create_frame_buffer_from_nwh
source · pub fn create_frame_buffer_from_nwh(
nwh: *const c_void,
width: u16,
height: u16,
params: CreateFrameBufferFromNwhArgs
) -> FrameBuffer
Expand description
nwh
: OS’ target native window handle.width
: Window back buffer width.height
: Window back buffer height.format
: Window back buffer color format.depth_format
: Window back buffer depth format.