23 lines
554 B
Plaintext
23 lines
554 B
Plaintext
// Generated using `moon info`, DON'T EDIT IT
|
|
package "moonplasma/desktop/interface/wasi-gfx/surface/surface-frame-buffer"
|
|
|
|
import {
|
|
"moonplasma/desktop/interface/wasi-gfx/frame-buffer/frame-buffer",
|
|
"moonplasma/desktop/interface/wasi-gfx/surface/surface",
|
|
}
|
|
|
|
// Values
|
|
|
|
// Errors
|
|
|
|
// Types and methods
|
|
pub(all) struct Context(Int32)
|
|
pub fn Context::context(@surface.Surface) -> Self
|
|
pub fn Context::drop(Self) -> Unit
|
|
pub fn Context::get_current_buffer(Self) -> @frame-buffer.Buffer
|
|
pub fn Context::present(Self) -> Unit
|
|
|
|
// Type aliases
|
|
|
|
// Traits
|