Table of Contents

Interface ITexture

Namespace
Lime
Assembly
Lime.dll
public interface ITexture : IDisposable
Inherited Members

Properties

ImageSize

Size ImageSize { get; }

Property Value

Size

IsDisposed

bool IsDisposed { get; }

Property Value

bool

IsStubTexture

bool IsStubTexture { get; }

Property Value

bool

MemoryUsed

int MemoryUsed { get; }

Property Value

int

TextureParams

TextureParams TextureParams { get; set; }

Property Value

TextureParams

UnderlyingTexture

ITexture UnderlyingTexture { get; }

Property Value

ITexture

Methods

GetPixels()

Color4[] GetPixels()

Returns

Color4[]

GetPlatformTexture()

IPlatformTexture2D GetPlatformTexture()

Returns

IPlatformTexture2D

IsTransparentPixel(int, int)

bool IsTransparentPixel(int x, int y)

Parameters

x int
y int

Returns

bool

MaybeDiscardUnderPressure()

void MaybeDiscardUnderPressure()

RestoreRenderTarget()

void RestoreRenderTarget()

SetAsRenderTarget()

void SetAsRenderTarget()