C# Class ProjectAnalyzer.TextureInfo

Inheritance: ResInfo
Mostra file Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Public Properties

Property Type Description
androidPlatSetting TexturePlatSetting
anisoLevel int
height int
iosPlatSetting TexturePlatSetting
isLightmap bool
isMipmap bool
isRW bool
standalonePlatSetting TexturePlatSetting
texture UnityEngine.Texture
width int

Public Methods

Method Description
AnalyzerTexture ( ) : void
CheckValid ( ) : void
GetRefInfos ( ) : string
IsOverridePlatform ( ) : string
SetTextureNoMinmap ( ) : void
TextureInfo ( Texture texture, string path ) : System

Private Methods

Method Description
CalculateTextureSizeBytes ( Texture tTexture ) : int
GetBitsPerPixel ( TextureFormat format ) : int

Method Details

AnalyzerTexture() public method

public AnalyzerTexture ( ) : void
return void

CheckValid() public method

public CheckValid ( ) : void
return void

GetRefInfos() public method

public GetRefInfos ( ) : string
return string

IsOverridePlatform() public method

public IsOverridePlatform ( ) : string
return string

SetTextureNoMinmap() public method

public SetTextureNoMinmap ( ) : void
return void

TextureInfo() public method

public TextureInfo ( Texture texture, string path ) : System
texture UnityEngine.Texture
path string
return System

Property Details

androidPlatSetting public_oe property

public TexturePlatSetting androidPlatSetting
return TexturePlatSetting

anisoLevel public_oe property

public int anisoLevel
return int

height public_oe property

public int height
return int

iosPlatSetting public_oe property

public TexturePlatSetting iosPlatSetting
return TexturePlatSetting

isLightmap public_oe property

public bool isLightmap
return bool

isMipmap public_oe property

public bool isMipmap
return bool

isRW public_oe property

public bool isRW
return bool

standalonePlatSetting public_oe property

public TexturePlatSetting standalonePlatSetting
return TexturePlatSetting

texture public_oe property

public Texture,UnityEngine texture
return UnityEngine.Texture

width public_oe property

public int width
return int