Table of Contents

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

format string
args object[]

Properties

ImageSize

public Size ImageSize { get; }

Property Value

Size

IsStubTexture

public bool IsStubTexture { get; }

Property Value

bool

SerializationPath

[YuzuMember]
public string SerializationPath { get; set; }

Property Value

string

TextureParams

public TextureParams TextureParams { get; set; }

Property Value

TextureParams

UnderlyingTexture

public ITexture UnderlyingTexture { get; }

Property Value

ITexture

Methods

ExpandPath(string)

public static string ExpandPath(string path)

Parameters

path string

Returns

string

GetPixels()

public Color4[] GetPixels()

Returns

Color4[]

GetPlatformTexture()

public IPlatformTexture2D GetPlatformTexture()

Returns

IPlatformTexture2D

IsTransparentPixel(int, int)

public bool IsTransparentPixel(int x, int y)

Parameters

x int
y int

Returns

bool

RestoreRenderTarget()

public void RestoreRenderTarget()

SetAsRenderTarget()

public void SetAsRenderTarget()

ShrinkPath(string)

public static string ShrinkPath(string path)

Parameters

path string

Returns

string

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.