Skip to main content

Cocos2D.CCTextureCache


Class CCTextureCache

Namespace: Cocos2D
Assembly: Cocos2D.dll, cocos2d_mono.Core.Android.dll, cocos2d_mono.Core.DesktopGL.dll, cocos2d-mono.Core.iOS.dll, cocos2d_mono.Core.Linux.dll, cocos2d_mono.Core.macOS.dll, cocos2d_mono.Windows.dll, cocos2d_mono.DesktopGL.dll, cocos2d-mono.iOS.dll, cocos2d_mono.Linux.dll, cocos2d_mono.macOS.dll

public class CCTextureCache : IDisposable, ICCSelectorProtocol

Inheritance

objectCCTextureCache

Implements

IDisposable, ICCSelectorProtocol

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Fields

m_pTextures

protected Dictionary<string, CCTexture2D> m_pTextures

Field Value

Dictionary<string, CCTexture2D>

m_pTextures

protected Dictionary<string, CCTexture2D> m_pTextures

Field Value

Dictionary<string, CCTexture2D>

m_pTextures

protected Dictionary<string, CCTexture2D> m_pTextures

Field Value

Dictionary<string, CCTexture2D>

m_pTextures

protected Dictionary<string, CCTexture2D> m_pTextures

Field Value

Dictionary<string, CCTexture2D>

m_pTextures

protected Dictionary<string, CCTexture2D> m_pTextures

Field Value

Dictionary<string, CCTexture2D>

m_pTextures

protected Dictionary<string, CCTexture2D> m_pTextures

Field Value

Dictionary<string, CCTexture2D>

m_pTextures

protected Dictionary<string, CCTexture2D> m_pTextures

Field Value

Dictionary<string, CCTexture2D>

m_pTextures

protected Dictionary<string, CCTexture2D> m_pTextures

Field Value

Dictionary<string, CCTexture2D>

m_pTextures

protected Dictionary<string, CCTexture2D> m_pTextures

Field Value

Dictionary<string, CCTexture2D>

m_pTextures

protected Dictionary<string, CCTexture2D> m_pTextures

Field Value

Dictionary<string, CCTexture2D>

m_pTextures

protected Dictionary<string, CCTexture2D> m_pTextures

Field Value

Dictionary<string, CCTexture2D>

m_pTextures

protected Dictionary<string, CCTexture2D> m_pTextures

Field Value

Dictionary<string, CCTexture2D>

Properties

SharedTextureCache

public static CCTextureCache SharedTextureCache { get; }

Property Value

CCTextureCache

SharedTextureCache

public static CCTextureCache SharedTextureCache { get; }

Property Value

CCTextureCache

SharedTextureCache

public static CCTextureCache SharedTextureCache { get; }

Property Value

CCTextureCache

SharedTextureCache

public static CCTextureCache SharedTextureCache { get; }

Property Value

CCTextureCache

SharedTextureCache

public static CCTextureCache SharedTextureCache { get; }

Property Value

CCTextureCache

SharedTextureCache

public static CCTextureCache SharedTextureCache { get; }

Property Value

CCTextureCache

SharedTextureCache

public static CCTextureCache SharedTextureCache { get; }

Property Value

CCTextureCache

SharedTextureCache

public static CCTextureCache SharedTextureCache { get; }

Property Value

CCTextureCache

SharedTextureCache

public static CCTextureCache SharedTextureCache { get; }

Property Value

CCTextureCache

SharedTextureCache

public static CCTextureCache SharedTextureCache { get; }

Property Value

CCTextureCache

SharedTextureCache

public static CCTextureCache SharedTextureCache { get; }

Property Value

CCTextureCache

SharedTextureCache

public static CCTextureCache SharedTextureCache { get; }

Property Value

CCTextureCache

this[string]

public CCTexture2D this[string key] { get; }

Property Value

CCTexture2D

this[string]

public CCTexture2D this[string key] { get; }

Property Value

CCTexture2D

this[string]

public CCTexture2D this[string key] { get; }

Property Value

CCTexture2D

this[string]

public CCTexture2D this[string key] { get; }

Property Value

CCTexture2D

this[string]

public CCTexture2D this[string key] { get; }

Property Value

CCTexture2D

this[string]

public CCTexture2D this[string key] { get; }

Property Value

CCTexture2D

this[string]

public CCTexture2D this[string key] { get; }

Property Value

CCTexture2D

this[string]

public CCTexture2D this[string key] { get; }

Property Value

CCTexture2D

this[string]

public CCTexture2D this[string key] { get; }

Property Value

CCTexture2D

this[string]

public CCTexture2D this[string key] { get; }

Property Value

CCTexture2D

this[string]

public CCTexture2D this[string key] { get; }

Property Value

CCTexture2D

this[string]

public CCTexture2D this[string key] { get; }

Property Value

CCTexture2D

Methods

AddImage(string)

public CCTexture2D AddImage(string fileimage)

Parameters

fileimage string

Returns

CCTexture2D

AddImage(byte[], string, SurfaceFormat)

public CCTexture2D AddImage(byte[] data, string assetName, SurfaceFormat format)

Parameters

data byte[]

assetName string

format SurfaceFormat

Returns

CCTexture2D

AddImage(string)

public CCTexture2D AddImage(string fileimage)

Parameters

fileimage string

Returns

CCTexture2D

AddImage(byte[], string, SurfaceFormat)

public CCTexture2D AddImage(byte[] data, string assetName, SurfaceFormat format)

Parameters

data byte[]

assetName string

format SurfaceFormat

Returns

CCTexture2D

AddImage(string)

public CCTexture2D AddImage(string fileimage)

Parameters

fileimage string

Returns

CCTexture2D

AddImage(byte[], string, SurfaceFormat)

public CCTexture2D AddImage(byte[] data, string assetName, SurfaceFormat format)

Parameters

data byte[]

assetName string

format SurfaceFormat

Returns

CCTexture2D

AddImage(string)

public CCTexture2D AddImage(string fileimage)

Parameters

fileimage string

Returns

CCTexture2D

AddImage(byte[], string, SurfaceFormat)

public CCTexture2D AddImage(byte[] data, string assetName, SurfaceFormat format)

Parameters

data byte[]

assetName string

format SurfaceFormat

Returns

CCTexture2D

AddImage(string)

public CCTexture2D AddImage(string fileimage)

Parameters

fileimage string

Returns

CCTexture2D

AddImage(byte[], string, SurfaceFormat)

public CCTexture2D AddImage(byte[] data, string assetName, SurfaceFormat format)

Parameters

data byte[]

assetName string

format SurfaceFormat

Returns

CCTexture2D

AddImage(string)

public CCTexture2D AddImage(string fileimage)

Parameters

fileimage string

Returns

CCTexture2D

AddImage(byte[], string, SurfaceFormat)

public CCTexture2D AddImage(byte[] data, string assetName, SurfaceFormat format)

Parameters

data byte[]

assetName string

format SurfaceFormat

Returns

CCTexture2D

AddImage(string)

public CCTexture2D AddImage(string fileimage)

Parameters

fileimage string

Returns

CCTexture2D

AddImage(byte[], string, SurfaceFormat)

public CCTexture2D AddImage(byte[] data, string assetName, SurfaceFormat format)

Parameters

data byte[]

assetName string

format SurfaceFormat

Returns

CCTexture2D

AddImage(string)

public CCTexture2D AddImage(string fileimage)

Parameters

fileimage string

Returns

CCTexture2D

AddImage(byte[], string, SurfaceFormat)

public CCTexture2D AddImage(byte[] data, string assetName, SurfaceFormat format)

Parameters

data byte[]

assetName string

format SurfaceFormat

Returns

CCTexture2D

AddImage(string)

public CCTexture2D AddImage(string fileimage)

Parameters

fileimage string

Returns

CCTexture2D

AddImage(byte[], string, SurfaceFormat)

public CCTexture2D AddImage(byte[] data, string assetName, SurfaceFormat format)

Parameters

data byte[]

assetName string

format SurfaceFormat

Returns

CCTexture2D

AddImage(string)

public CCTexture2D AddImage(string fileimage)

Parameters

fileimage string

Returns

CCTexture2D

AddImage(byte[], string, SurfaceFormat)

public CCTexture2D AddImage(byte[] data, string assetName, SurfaceFormat format)

Parameters

data byte[]

assetName string

format SurfaceFormat

Returns

CCTexture2D

AddImage(string)

public CCTexture2D AddImage(string fileimage)

Parameters

fileimage string

Returns

CCTexture2D

AddImage(byte[], string, SurfaceFormat)

public CCTexture2D AddImage(byte[] data, string assetName, SurfaceFormat format)

Parameters

data byte[]

assetName string

format SurfaceFormat

Returns

CCTexture2D

AddImage(string)

public CCTexture2D AddImage(string fileimage)

Parameters

fileimage string

Returns

CCTexture2D

AddImage(byte[], string, SurfaceFormat)

public CCTexture2D AddImage(byte[] data, string assetName, SurfaceFormat format)

Parameters

data byte[]

assetName string

format SurfaceFormat

Returns

CCTexture2D

AddImageAsync(string, Action<CCTexture2D>)

public void AddImageAsync(string fileimage, Action<CCTexture2D> action)

Parameters

fileimage string

action Action<CCTexture2D>

AddImageAsync(string, Action<CCTexture2D>)

public void AddImageAsync(string fileimage, Action<CCTexture2D> action)

Parameters

fileimage string

action Action<CCTexture2D>

AddImageAsync(string, Action<CCTexture2D>)

public void AddImageAsync(string fileimage, Action<CCTexture2D> action)

Parameters

fileimage string

action Action<CCTexture2D>

AddImageAsync(string, Action<CCTexture2D>)

public void AddImageAsync(string fileimage, Action<CCTexture2D> action)

Parameters

fileimage string

action Action<CCTexture2D>

AddImageAsync(string, Action<CCTexture2D>)

public void AddImageAsync(string fileimage, Action<CCTexture2D> action)

Parameters

fileimage string

action Action<CCTexture2D>

AddImageAsync(string, Action<CCTexture2D>)

public void AddImageAsync(string fileimage, Action<CCTexture2D> action)

Parameters

fileimage string

action Action<CCTexture2D>

AddImageAsync(string, Action<CCTexture2D>)

public void AddImageAsync(string fileimage, Action<CCTexture2D> action)

Parameters

fileimage string

action Action<CCTexture2D>

AddImageAsync(string, Action<CCTexture2D>)

public void AddImageAsync(string fileimage, Action<CCTexture2D> action)

Parameters

fileimage string

action Action<CCTexture2D>

AddImageAsync(string, Action<CCTexture2D>)

public void AddImageAsync(string fileimage, Action<CCTexture2D> action)

Parameters

fileimage string

action Action<CCTexture2D>

AddImageAsync(string, Action<CCTexture2D>)

public void AddImageAsync(string fileimage, Action<CCTexture2D> action)

Parameters

fileimage string

action Action<CCTexture2D>

AddImageAsync(string, Action<CCTexture2D>)

public void AddImageAsync(string fileimage, Action<CCTexture2D> action)

Parameters

fileimage string

action Action<CCTexture2D>

AddImageAsync(string, Action<CCTexture2D>)

public void AddImageAsync(string fileimage, Action<CCTexture2D> action)

Parameters

fileimage string

action Action<CCTexture2D>

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap, CCSize contentSize) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

contentSize CCSize

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap, CCSize contentSize) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

contentSize CCSize

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap, CCSize contentSize) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

contentSize CCSize

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap, CCSize contentSize) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

contentSize CCSize

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap, CCSize contentSize) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

contentSize CCSize

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap, CCSize contentSize) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

contentSize CCSize

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap, CCSize contentSize) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

contentSize CCSize

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap, CCSize contentSize) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

contentSize CCSize

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap, CCSize contentSize) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

contentSize CCSize

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap, CCSize contentSize) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

contentSize CCSize

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap, CCSize contentSize) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

contentSize CCSize

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

Returns

CCTexture2D

Type Parameters

T

AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)

public CCTexture2D AddRawImage<T>(T[] data, int width, int height, string assetName, SurfaceFormat format, bool premultiplied, bool mipMap, CCSize contentSize) where T : struct

Parameters

data T[]

width int

height int

assetName string

format SurfaceFormat

premultiplied bool

mipMap bool

contentSize CCSize

Returns

CCTexture2D

Type Parameters

T

Contains(string)

public bool Contains(string assetFile)

Parameters

assetFile string

Returns

bool

Contains(string)

public bool Contains(string assetFile)

Parameters

assetFile string

Returns

bool

Contains(string)

public bool Contains(string assetFile)

Parameters

assetFile string

Returns

bool

Contains(string)

public bool Contains(string assetFile)

Parameters

assetFile string

Returns

bool

Contains(string)

public bool Contains(string assetFile)

Parameters

assetFile string

Returns

bool

Contains(string)

public bool Contains(string assetFile)

Parameters

assetFile string

Returns

bool

Contains(string)

public bool Contains(string assetFile)

Parameters

assetFile string

Returns

bool

Contains(string)

public bool Contains(string assetFile)

Parameters

assetFile string

Returns

bool

Contains(string)

public bool Contains(string assetFile)

Parameters

assetFile string

Returns

bool

Contains(string)

public bool Contains(string assetFile)

Parameters

assetFile string

Returns

bool

Contains(string)

public bool Contains(string assetFile)

Parameters

assetFile string

Returns

bool

Contains(string)

public bool Contains(string assetFile)

Parameters

assetFile string

Returns

bool

Dispose()

public void Dispose()

Dispose()

public void Dispose()

Dispose()

public void Dispose()

Dispose()

public void Dispose()

Dispose()

public void Dispose()

Dispose()

public void Dispose()

Dispose()

public void Dispose()

Dispose()

public void Dispose()

Dispose()

public void Dispose()

Dispose()

public void Dispose()

Dispose()

public void Dispose()

Dispose()

public void Dispose()

DumpCachedTextureInfo()

public void DumpCachedTextureInfo()

DumpCachedTextureInfo()

public void DumpCachedTextureInfo()

DumpCachedTextureInfo()

public void DumpCachedTextureInfo()

DumpCachedTextureInfo()

public void DumpCachedTextureInfo()

DumpCachedTextureInfo()

public void DumpCachedTextureInfo()

DumpCachedTextureInfo()

public void DumpCachedTextureInfo()

DumpCachedTextureInfo()

public void DumpCachedTextureInfo()

DumpCachedTextureInfo()

public void DumpCachedTextureInfo()

DumpCachedTextureInfo()

public void DumpCachedTextureInfo()

DumpCachedTextureInfo()

public void DumpCachedTextureInfo()

DumpCachedTextureInfo()

public void DumpCachedTextureInfo()

DumpCachedTextureInfo()

public void DumpCachedTextureInfo()

~CCTextureCache()

protected ~CCTextureCache()

~CCTextureCache()

protected ~CCTextureCache()

~CCTextureCache()

protected ~CCTextureCache()

~CCTextureCache()

protected ~CCTextureCache()

~CCTextureCache()

protected ~CCTextureCache()

~CCTextureCache()

protected ~CCTextureCache()

~CCTextureCache()

protected ~CCTextureCache()

~CCTextureCache()

protected ~CCTextureCache()

~CCTextureCache()

protected ~CCTextureCache()

~CCTextureCache()

protected ~CCTextureCache()

~CCTextureCache()

protected ~CCTextureCache()

~CCTextureCache()

protected ~CCTextureCache()

PurgeSharedTextureCache()

public static void PurgeSharedTextureCache()

PurgeSharedTextureCache()

public static void PurgeSharedTextureCache()

PurgeSharedTextureCache()

public static void PurgeSharedTextureCache()

PurgeSharedTextureCache()

public static void PurgeSharedTextureCache()

PurgeSharedTextureCache()

public static void PurgeSharedTextureCache()

PurgeSharedTextureCache()

public static void PurgeSharedTextureCache()

PurgeSharedTextureCache()

public static void PurgeSharedTextureCache()

PurgeSharedTextureCache()

public static void PurgeSharedTextureCache()

PurgeSharedTextureCache()

public static void PurgeSharedTextureCache()

PurgeSharedTextureCache()

public static void PurgeSharedTextureCache()

PurgeSharedTextureCache()

public static void PurgeSharedTextureCache()

PurgeSharedTextureCache()

public static void PurgeSharedTextureCache()

RemoveAllTextures()

public void RemoveAllTextures()

RemoveAllTextures()

public void RemoveAllTextures()

RemoveAllTextures()

public void RemoveAllTextures()

RemoveAllTextures()

public void RemoveAllTextures()

RemoveAllTextures()

public void RemoveAllTextures()

RemoveAllTextures()

public void RemoveAllTextures()

RemoveAllTextures()

public void RemoveAllTextures()

RemoveAllTextures()

public void RemoveAllTextures()

RemoveAllTextures()

public void RemoveAllTextures()

RemoveAllTextures()

public void RemoveAllTextures()

RemoveAllTextures()

public void RemoveAllTextures()

RemoveAllTextures()

public void RemoveAllTextures()

RemoveTexture(CCTexture2D)

public void RemoveTexture(CCTexture2D texture)

Parameters

texture CCTexture2D

RemoveTexture(CCTexture2D)

public void RemoveTexture(CCTexture2D texture)

Parameters

texture CCTexture2D

RemoveTexture(CCTexture2D)

public void RemoveTexture(CCTexture2D texture)

Parameters

texture CCTexture2D

RemoveTexture(CCTexture2D)

public void RemoveTexture(CCTexture2D texture)

Parameters

texture CCTexture2D

RemoveTexture(CCTexture2D)

public void RemoveTexture(CCTexture2D texture)

Parameters

texture CCTexture2D

RemoveTexture(CCTexture2D)

public void RemoveTexture(CCTexture2D texture)

Parameters

texture CCTexture2D

RemoveTexture(CCTexture2D)

public void RemoveTexture(CCTexture2D texture)

Parameters

texture CCTexture2D

RemoveTexture(CCTexture2D)

public void RemoveTexture(CCTexture2D texture)

Parameters

texture CCTexture2D

RemoveTexture(CCTexture2D)

public void RemoveTexture(CCTexture2D texture)

Parameters

texture CCTexture2D

RemoveTexture(CCTexture2D)

public void RemoveTexture(CCTexture2D texture)

Parameters

texture CCTexture2D

RemoveTexture(CCTexture2D)

public void RemoveTexture(CCTexture2D texture)

Parameters

texture CCTexture2D

RemoveTexture(CCTexture2D)

public void RemoveTexture(CCTexture2D texture)

Parameters

texture CCTexture2D

RemoveTextureForKey(string)

public void RemoveTextureForKey(string textureKeyName)

Parameters

textureKeyName string

RemoveTextureForKey(string)

public void RemoveTextureForKey(string textureKeyName)

Parameters

textureKeyName string

RemoveTextureForKey(string)

public void RemoveTextureForKey(string textureKeyName)

Parameters

textureKeyName string

RemoveTextureForKey(string)

public void RemoveTextureForKey(string textureKeyName)

Parameters

textureKeyName string

RemoveTextureForKey(string)

public void RemoveTextureForKey(string textureKeyName)

Parameters

textureKeyName string

RemoveTextureForKey(string)

public void RemoveTextureForKey(string textureKeyName)

Parameters

textureKeyName string

RemoveTextureForKey(string)

public void RemoveTextureForKey(string textureKeyName)

Parameters

textureKeyName string

RemoveTextureForKey(string)

public void RemoveTextureForKey(string textureKeyName)

Parameters

textureKeyName string

RemoveTextureForKey(string)

public void RemoveTextureForKey(string textureKeyName)

Parameters

textureKeyName string

RemoveTextureForKey(string)

public void RemoveTextureForKey(string textureKeyName)

Parameters

textureKeyName string

RemoveTextureForKey(string)

public void RemoveTextureForKey(string textureKeyName)

Parameters

textureKeyName string

RemoveTextureForKey(string)

public void RemoveTextureForKey(string textureKeyName)

Parameters

textureKeyName string

RemoveUnusedTextures()

public void RemoveUnusedTextures()

RemoveUnusedTextures()

public void RemoveUnusedTextures()

RemoveUnusedTextures()

public void RemoveUnusedTextures()

RemoveUnusedTextures()

public void RemoveUnusedTextures()

RemoveUnusedTextures()

public void RemoveUnusedTextures()

RemoveUnusedTextures()

public void RemoveUnusedTextures()

RemoveUnusedTextures()

public void RemoveUnusedTextures()

RemoveUnusedTextures()

public void RemoveUnusedTextures()

RemoveUnusedTextures()

public void RemoveUnusedTextures()

RemoveUnusedTextures()

public void RemoveUnusedTextures()

RemoveUnusedTextures()

public void RemoveUnusedTextures()

RemoveUnusedTextures()

public void RemoveUnusedTextures()

TextureForKey(string)

public CCTexture2D TextureForKey(string key)

Parameters

key string

Returns

CCTexture2D

TextureForKey(string)

public CCTexture2D TextureForKey(string key)

Parameters

key string

Returns

CCTexture2D

TextureForKey(string)

public CCTexture2D TextureForKey(string key)

Parameters

key string

Returns

CCTexture2D

TextureForKey(string)

public CCTexture2D TextureForKey(string key)

Parameters

key string

Returns

CCTexture2D

TextureForKey(string)

public CCTexture2D TextureForKey(string key)

Parameters

key string

Returns

CCTexture2D

TextureForKey(string)

public CCTexture2D TextureForKey(string key)

Parameters

key string

Returns

CCTexture2D

TextureForKey(string)

public CCTexture2D TextureForKey(string key)

Parameters

key string

Returns

CCTexture2D

TextureForKey(string)

public CCTexture2D TextureForKey(string key)

Parameters

key string

Returns

CCTexture2D

TextureForKey(string)

public CCTexture2D TextureForKey(string key)

Parameters

key string

Returns

CCTexture2D

TextureForKey(string)

public CCTexture2D TextureForKey(string key)

Parameters

key string

Returns

CCTexture2D

TextureForKey(string)

public CCTexture2D TextureForKey(string key)

Parameters

key string

Returns

CCTexture2D

TextureForKey(string)

public CCTexture2D TextureForKey(string key)

Parameters

key string

Returns

CCTexture2D

UnloadContent()

public void UnloadContent()

UnloadContent()

public void UnloadContent()

UnloadContent()

public void UnloadContent()

UnloadContent()

public void UnloadContent()

UnloadContent()

public void UnloadContent()

UnloadContent()

public void UnloadContent()

UnloadContent()

public void UnloadContent()

UnloadContent()

public void UnloadContent()

UnloadContent()

public void UnloadContent()

UnloadContent()

public void UnloadContent()

UnloadContent()

public void UnloadContent()

UnloadContent()

public void UnloadContent()

Update(float)

public void Update(float dt)

Parameters

dt float

Update(float)

public void Update(float dt)

Parameters

dt float

Update(float)

public void Update(float dt)

Parameters

dt float

Update(float)

public void Update(float dt)

Parameters

dt float

Update(float)

public void Update(float dt)

Parameters

dt float

Update(float)

public void Update(float dt)

Parameters

dt float

Update(float)

public void Update(float dt)

Parameters

dt float

Update(float)

public void Update(float dt)

Parameters

dt float

Update(float)

public void Update(float dt)

Parameters

dt float

Update(float)

public void Update(float dt)

Parameters

dt float

Update(float)

public void Update(float dt)

Parameters

dt float

Update(float)

public void Update(float dt)

Parameters

dt float

  • Fields
    • m_pTextures
    • m_pTextures
    • m_pTextures
    • m_pTextures
    • m_pTextures
    • m_pTextures
    • m_pTextures
    • m_pTextures
    • m_pTextures
    • m_pTextures
    • m_pTextures
    • m_pTextures
  • Properties
    • SharedTextureCache
    • SharedTextureCache
    • SharedTextureCache
    • SharedTextureCache
    • SharedTextureCache
    • SharedTextureCache
    • SharedTextureCache
    • SharedTextureCache
    • SharedTextureCache
    • SharedTextureCache
    • SharedTextureCache
    • SharedTextureCache
    • this[string]
    • this[string]
    • this[string]
    • this[string]
    • this[string]
    • this[string]
    • this[string]
    • this[string]
    • this[string]
    • this[string]
    • this[string]
    • this[string]
  • Methods
    • AddImage(string)
    • AddImage(byte[], string, SurfaceFormat)
    • AddImage(string)
    • AddImage(byte[], string, SurfaceFormat)
    • AddImage(string)
    • AddImage(byte[], string, SurfaceFormat)
    • AddImage(string)
    • AddImage(byte[], string, SurfaceFormat)
    • AddImage(string)
    • AddImage(byte[], string, SurfaceFormat)
    • AddImage(string)
    • AddImage(byte[], string, SurfaceFormat)
    • AddImage(string)
    • AddImage(byte[], string, SurfaceFormat)
    • AddImage(string)
    • AddImage(byte[], string, SurfaceFormat)
    • AddImage(string)
    • AddImage(byte[], string, SurfaceFormat)
    • AddImage(string)
    • AddImage(byte[], string, SurfaceFormat)
    • AddImage(string)
    • AddImage(byte[], string, SurfaceFormat)
    • AddImage(string)
    • AddImage(byte[], string, SurfaceFormat)
    • AddImageAsync(string, Action<CCTexture2D>)
    • AddImageAsync(string, Action<CCTexture2D>)
    • AddImageAsync(string, Action<CCTexture2D>)
    • AddImageAsync(string, Action<CCTexture2D>)
    • AddImageAsync(string, Action<CCTexture2D>)
    • AddImageAsync(string, Action<CCTexture2D>)
    • AddImageAsync(string, Action<CCTexture2D>)
    • AddImageAsync(string, Action<CCTexture2D>)
    • AddImageAsync(string, Action<CCTexture2D>)
    • AddImageAsync(string, Action<CCTexture2D>)
    • AddImageAsync(string, Action<CCTexture2D>)
    • AddImageAsync(string, Action<CCTexture2D>)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool)
    • AddRawImage<T>(T[], int, int, string, SurfaceFormat, bool, bool, CCSize)
    • Contains(string)
    • Contains(string)
    • Contains(string)
    • Contains(string)
    • Contains(string)
    • Contains(string)
    • Contains(string)
    • Contains(string)
    • Contains(string)
    • Contains(string)
    • Contains(string)
    • Contains(string)
    • Dispose()
    • Dispose()
    • Dispose()
    • Dispose()
    • Dispose()
    • Dispose()
    • Dispose()
    • Dispose()
    • Dispose()
    • Dispose()
    • Dispose()
    • Dispose()
    • DumpCachedTextureInfo()
    • DumpCachedTextureInfo()
    • DumpCachedTextureInfo()
    • DumpCachedTextureInfo()
    • DumpCachedTextureInfo()
    • DumpCachedTextureInfo()
    • DumpCachedTextureInfo()
    • DumpCachedTextureInfo()
    • DumpCachedTextureInfo()
    • DumpCachedTextureInfo()
    • DumpCachedTextureInfo()
    • DumpCachedTextureInfo()
    • ~CCTextureCache()
    • ~CCTextureCache()
    • ~CCTextureCache()
    • ~CCTextureCache()
    • ~CCTextureCache()
    • ~CCTextureCache()
    • ~CCTextureCache()
    • ~CCTextureCache()
    • ~CCTextureCache()
    • ~CCTextureCache()
    • ~CCTextureCache()
    • ~CCTextureCache()
    • PurgeSharedTextureCache()
    • PurgeSharedTextureCache()
    • PurgeSharedTextureCache()
    • PurgeSharedTextureCache()
    • PurgeSharedTextureCache()
    • PurgeSharedTextureCache()
    • PurgeSharedTextureCache()
    • PurgeSharedTextureCache()
    • PurgeSharedTextureCache()
    • PurgeSharedTextureCache()
    • PurgeSharedTextureCache()
    • PurgeSharedTextureCache()
    • RemoveAllTextures()
    • RemoveAllTextures()
    • RemoveAllTextures()
    • RemoveAllTextures()
    • RemoveAllTextures()
    • RemoveAllTextures()
    • RemoveAllTextures()
    • RemoveAllTextures()
    • RemoveAllTextures()
    • RemoveAllTextures()
    • RemoveAllTextures()
    • RemoveAllTextures()
    • RemoveTexture(CCTexture2D)
    • RemoveTexture(CCTexture2D)
    • RemoveTexture(CCTexture2D)
    • RemoveTexture(CCTexture2D)
    • RemoveTexture(CCTexture2D)
    • RemoveTexture(CCTexture2D)
    • RemoveTexture(CCTexture2D)
    • RemoveTexture(CCTexture2D)
    • RemoveTexture(CCTexture2D)
    • RemoveTexture(CCTexture2D)
    • RemoveTexture(CCTexture2D)
    • RemoveTexture(CCTexture2D)
    • RemoveTextureForKey(string)
    • RemoveTextureForKey(string)
    • RemoveTextureForKey(string)
    • RemoveTextureForKey(string)
    • RemoveTextureForKey(string)
    • RemoveTextureForKey(string)
    • RemoveTextureForKey(string)
    • RemoveTextureForKey(string)
    • RemoveTextureForKey(string)
    • RemoveTextureForKey(string)
    • RemoveTextureForKey(string)
    • RemoveTextureForKey(string)
    • RemoveUnusedTextures()
    • RemoveUnusedTextures()
    • RemoveUnusedTextures()
    • RemoveUnusedTextures()
    • RemoveUnusedTextures()
    • RemoveUnusedTextures()
    • RemoveUnusedTextures()
    • RemoveUnusedTextures()
    • RemoveUnusedTextures()
    • RemoveUnusedTextures()
    • RemoveUnusedTextures()
    • RemoveUnusedTextures()
    • TextureForKey(string)
    • TextureForKey(string)
    • TextureForKey(string)
    • TextureForKey(string)
    • TextureForKey(string)
    • TextureForKey(string)
    • TextureForKey(string)
    • TextureForKey(string)
    • TextureForKey(string)
    • TextureForKey(string)
    • TextureForKey(string)
    • TextureForKey(string)
    • UnloadContent()
    • UnloadContent()
    • UnloadContent()
    • UnloadContent()
    • UnloadContent()
    • UnloadContent()
    • UnloadContent()
    • UnloadContent()
    • UnloadContent()
    • UnloadContent()
    • UnloadContent()
    • UnloadContent()
    • Update(float)
    • Update(float)
    • Update(float)
    • Update(float)
    • Update(float)
    • Update(float)
    • Update(float)
    • Update(float)
    • Update(float)
    • Update(float)
    • Update(float)
    • Update(float)