C# 클래스 Reign.Video.Image

상속: ILoadable
파일 보기 프로젝트 열기: reignstudios/ReignSDK

공개 프로퍼티들

프로퍼티 타입 설명
Mipmaps Mipmap[]

공개 메소드들

메소드 설명
CalculatePixelByteSize ( ) : int
CalculatePixelByteSize ( SurfaceFormats surfaceFormat, int width, int height ) : int
Image ( ) : System.Threading.Tasks
New ( string filename, bool flip, Loader loadedCallback ) : Image
Save ( byte inData, int width, int height, Stream outStream, ImageFormats imageFormat, ImageSavedCallbackMethod imageSavedCallback ) : void
UpdateLoad ( ) : bool

보호된 메소드들

메소드 설명
init ( Stream stream, bool flip, Loader loadedCallback ) : void

메소드 상세

CalculatePixelByteSize() 공개 메소드

public CalculatePixelByteSize ( ) : int
리턴 int

CalculatePixelByteSize() 공개 정적인 메소드

public static CalculatePixelByteSize ( SurfaceFormats surfaceFormat, int width, int height ) : int
surfaceFormat SurfaceFormats
width int
height int
리턴 int

Image() 공개 메소드

public Image ( ) : System.Threading.Tasks
리턴 System.Threading.Tasks

New() 공개 정적인 메소드

public static New ( string filename, bool flip, Loader loadedCallback ) : Image
filename string
flip bool
loadedCallback Reign.Core.Loader
리턴 Image

Save() 공개 정적인 메소드

public static Save ( byte inData, int width, int height, Stream outStream, ImageFormats imageFormat, ImageSavedCallbackMethod imageSavedCallback ) : void
inData byte
width int
height int
outStream Stream
imageFormat ImageFormats
imageSavedCallback ImageSavedCallbackMethod
리턴 void

UpdateLoad() 공개 메소드

public UpdateLoad ( ) : bool
리턴 bool

init() 보호된 추상적인 메소드

protected abstract init ( Stream stream, bool flip, Loader loadedCallback ) : void
stream Stream
flip bool
loadedCallback Reign.Core.Loader
리턴 void

프로퍼티 상세

Mipmaps 공개적으로 프로퍼티

public Mipmap[] Mipmaps
리턴 Mipmap[]