PEd_SurfaceCheck

A function defined in PEd_SurfaceCheck.gml

PEd_SurfaceCheck(_surface, _width, _height)

Description

Checks whether the surface exists and if it has correct size. Broken surfaces are recreated. Surfaces of wrong size are resized.

Arguments

Name Type Description
_surface Id.Surface The surface.
_width Real The desired width of the surface.
_height Real The desired height of the surface.

Returns

Id.Surface The surface.


Copyright © 2024, BlueBurn. Built on September 03, 2024 using GMDoc.