class Surface
implements Struct
import { Surface } from "https://deno.land/x/sdl_ts@0.0.6/src/SDL/structs.ts";
Properties
private
readonly
_view: PlatformDataView<Surface>readonly
_data: Uint8Array | PointerValue<Surface>readonly
clip_rect: Rectreadonly
flags: u32readonly
format: PointerValue<PixelFormat>readonly
h: i32readonly
list_blitmap: PointerValue<void>readonly
locked: i32readonly
map: PointerValue<BlitMap>readonly
pitch: i32readonly
pixels: PointerValue<void>readonly
refcount: i32readonly
userdata: PointerValue<void>readonly
w: i32Static Methods
of(data: Uint8Array | PointerValue<Surface>): Surface | null