C# 클래스 GLSharp.Content.Library

Loades and manages resources.
파일 보기 프로젝트 열기: colin-dumitru/GLSharp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ExpireLimit int

공개 메소드들

메소드 설명
AddConverter ( IResourceConverter converter ) : void
FindResource ( String library, String resourceName ) : Handle
GetResource ( Handle handle ) : ResourceItem
GetResourceById ( int itemId ) : ResourceItem
Library ( ) : System
LoadLibrary ( String url ) : LibraryResult
RemoveConverter ( IResourceConverter converter ) : void
UnloadLibrary ( String name ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
AppendToCollection ( ResourceCollection resourceCollection, List resources ) : void
LoadLibraryFromJson ( Object json ) : ResourceCollection

메소드 상세

AddConverter() 공개 메소드

public AddConverter ( IResourceConverter converter ) : void
converter IResourceConverter
리턴 void

FindResource() 공개 메소드

public FindResource ( String library, String resourceName ) : Handle
library String
resourceName String
리턴 Handle

GetResource() 공개 메소드

public GetResource ( Handle handle ) : ResourceItem
handle Handle
리턴 ResourceItem

GetResourceById() 공개 메소드

public GetResourceById ( int itemId ) : ResourceItem
itemId int
리턴 ResourceItem

Library() 공개 메소드

public Library ( ) : System
리턴 System

LoadLibrary() 공개 메소드

public LoadLibrary ( String url ) : LibraryResult
url String
리턴 LibraryResult

RemoveConverter() 공개 메소드

public RemoveConverter ( IResourceConverter converter ) : void
converter IResourceConverter
리턴 void

UnloadLibrary() 공개 메소드

public UnloadLibrary ( String name ) : void
name String
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

ExpireLimit 공개적으로 프로퍼티

The limit in milliseconds when items are considered expired and should be dealocated.
public int ExpireLimit
리턴 int