mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2025-02-16 07:05:14 +01:00
35 lines
895 B
Text
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;
|
|
};
|
|
}
|