Class SerializableTexture
- Namespace
- Lime
- Assembly
- Lime.dll
[SerializableAsset(new string[] { "png" })]
public class SerializableTexture : CommonTexture, ITexture, IDisposable, ISerializableAsset
- Inheritance
-
SerializableTexture
- Implements
- Inherited Members
Constructors
SerializableTexture()
public SerializableTexture()
SerializableTexture(string)
public SerializableTexture(string path)
Parameters
path
string
SerializableTexture(string, params object[])
public SerializableTexture(string format, params object[] args)
Parameters
Properties
ImageSize
public Size ImageSize { get; }
Property Value
IsStubTexture
public bool IsStubTexture { get; }
Property Value
SerializationPath
[YuzuMember]
public string SerializationPath { get; set; }
Property Value
TextureParams
public TextureParams TextureParams { get; set; }
Property Value
UnderlyingTexture
public ITexture UnderlyingTexture { get; }
Property Value
Methods
ExpandPath(string)
public static string ExpandPath(string path)
Parameters
path
string
Returns
GetPixels()
public Color4[] GetPixels()
Returns
- Color4[]
GetPlatformTexture()
public IPlatformTexture2D GetPlatformTexture()
Returns
IsTransparentPixel(int, int)
public bool IsTransparentPixel(int x, int y)
Parameters
Returns
RestoreRenderTarget()
public void RestoreRenderTarget()
SetAsRenderTarget()
public void SetAsRenderTarget()
ShrinkPath(string)
public static string ShrinkPath(string path)
Parameters
path
string
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.