![]() |
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Static Public Member Functions | |
static Material | GetBlitMaterial (BlendMode mode) |
static void | Blit (RenderTexture source, RenderTexture dest, BlendMode blendMode) |
static void | Blit (RenderTexture source, RenderTexture dest) |
static void | Blit (RenderTexture source, Rect sourceRect, RenderTexture dest, Rect destRect, BlendMode blendMode) |
static void | BlitWithMaterial (Material material, RenderTexture source, RenderTexture destination) |
static void | RenderDistortion (Material material, RenderTexture source, RenderTexture destination, float angle, Vector2 center, Vector2 radius) |
static void | DrawQuad (bool invertY) |
static void | DrawGrid (int xSize, int ySize) |
Static Private Attributes | |
static Material[] | m_BlitMaterials = {null, null, null, null, null, null} |
A Utility class for performing various image based rendering tasks.
Definition at line 15 of file ImageEffects2.cs.
|
static |
Copies one render texture onto another.
This function copies /source/ onto /dest/, optionally using a custom blend mode. If /blendMode/ is left out, the default operation is simply to copy one texture on to another. This function will copy the whole source texture on to the whole destination texture. If the sizes differ, the image in the source texture will get stretched to fit. The source and destination textures cannot be the same.
Definition at line 97 of file ImageEffects2.cs.
Referenced by Blit(), and DreamEffect.OnRenderImage().
|
static |
Definition at line 100 of file ImageEffects2.cs.
References Blit().
|
static |
Copies one render texture onto another.
Definition at line 105 of file ImageEffects2.cs.
References DrawQuad(), and GetBlitMaterial().
|
static |
Definition at line 122 of file ImageEffects2.cs.
Referenced by DreamEffect.OnRenderImage().
|
static |
Definition at line 162 of file ImageEffects2.cs.
|
static |
Definition at line 146 of file ImageEffects2.cs.
Referenced by Blit().
|
static |
Definition at line 18 of file ImageEffects2.cs.
Referenced by Blit().
|
static |
Definition at line 128 of file ImageEffects2.cs.
|
staticprivate |
Definition at line 16 of file ImageEffects2.cs.