DOKK / manpages / debian 10 / s3d-doc / s3dw_surface_new.3.en
S3DW_SURFACE_NEW(3) s3d Manual S3DW_SURFACE_NEW(3)

s3dw_surface_new - create a new surface

#include <s3dw.h>

s3dw_surface *s3dw_surface_new(const char *title, float width, float height);

Creates a new surface (a new window) with title "title" and dimension "width" x "height".

See s3dw_surface for information about callbacks which may be defined.

Simon Wunderlich

Author of s3d
s3d