Texture2DEffectors

Members

Static functions

GetSubImage
Color[][] GetSubImage(Color[][] from, int x, int y, int width, int height)

Returns a sub-image from the image starting at the coordinates extenting to the width and height.

GetSubImage
Texture2D GetSubImage(Texture2D from, int x, int y, int width, int height)

Returns a sub-image from the image starting at the coordinates extenting to the width and height. T = the backend to return for. Currently supported: - Gl (default) - Vk

NewCanvas
Color[][] NewCanvas(uint width, uint height, Color backgroundcolor = Color.Transparent)

Creates a new texture.

NewCanvasTex
Texture2D NewCanvasTex(uint width, uint height, Color backgroundcolor = Color.Transparent)

Creates a new texture. T = the backend to return for. Currently supported: - Gl (default) - Vk

ResizeCanvas
Color[][] ResizeCanvas(Color[][] from, uint width, uint height)

Resizes the canvas that the texture is on.

ResizeCanvas
Texture2D ResizeCanvas(Texture2D input, uint width, uint height)

Resizes the canvas that the texture is on. T = the backend to return for. Currently supported: - Gl (default) - Vk

SimpleUpscale
Color[][] SimpleUpscale(Color[][] input, uint scale)

Very simple upscaler, width and height gets scaled * <scale> parameter.

SimpleUpscale
Texture2D SimpleUpscale(Texture2D input, uint scale)

Very simple upscaler, width and height gets scaled * <scale> parameter. T = the backend to return for. Currently supported: - Gl (default) - Vk

Superimpose
Color[][] Superimpose(Color[][] from, Color[][] to, int x, int y)

Superimposes <from> to texture <to> and returns the result.

Superimpose
Texture2D Superimpose(Texture2D from, Texture2D to, int x, int y)

Superimposes <from> to texture <to> and returns the result. T = the backend to return for. Currently supported: - Gl (default) - Vk

Superimpose
Texture2D Superimpose(Color[][] from, Texture2D to, int x, int y)

Superimposes <from> to texture <to> and returns the result. T = the backend to return for. Currently supported: - Gl (default) - Vk

Superimpose
Texture2D Superimpose(Texture2D from, Color[][] to, int x, int y)

Superimposes <from> to texture <to> and returns the result. T = the backend to return for. Currently supported: - Gl (default) - Vk

Meta