Pixel-Composer/scripts/BBMOD_IRenderTarget/BBMOD_IRenderTarget.gml
2023-04-23 16:47:33 +02:00

35 lines
895 B
Text

/// @func BBMOD_IRenderTarget()
///
/// @interface
///
/// @desc An interface for structs which can be used as a render target.
function BBMOD_IRenderTarget()
{
/// @func set_target()
///
/// @desc Sets the render target.
///
/// @return {Bool} Returns `true` if the render target was set.
///
/// @throws {BBMOD_NotImplementedException} If the method is not implemented.
///
/// @see BBMOD_IRenderTarget.reset_target
static set_target = function () {
throw new BBMOD_NotImplementedException();
//return self;
};
/// @func reset_target()
///
/// @desc Resets the render target.
///
/// @return {Struct.BBMOD_IRenderTarget} Returns `self`.
///
/// @throws {BBMOD_NotImplementedException} If the method is not implemented.
///
/// @see BBMOD_IRenderTarget.set_target
static reset_target = function () {
throw new BBMOD_NotImplementedException();
//return self;
};
}