DemiLib
A collection of Demigiant's utility libraries for Unity (https://github.com/Demigiant/demilib)
DG.DemiEditor.TextureExtensions Class Reference

Texture extensions More...

Static Public Member Functions

static void SetGUIFormat (this Texture2D texture, FilterMode filterMode=FilterMode.Point, int maxTextureSize=32)
 Checks that the texture uses the correct import settings, and applies them if they're incorrect. More...
 

Detailed Description

Texture extensions

Member Function Documentation

static void DG.DemiEditor.TextureExtensions.SetGUIFormat ( this Texture2D  texture,
FilterMode  filterMode = FilterMode.Point,
int  maxTextureSize = 32 
)
static

Checks that the texture uses the correct import settings, and applies them if they're incorrect.


The documentation for this class was generated from the following file: