C# 클래스 FlatRedBall.IO.BmpLoader

Class responsible for creating ImageDatas from BMP files.
파일 보기 프로젝트 열기: vchelaru/FlatRedBall

공개 메소드들

메소드 설명
GetPixelData ( string fileName ) : ImageData

ImageData takes a fileName (string) and loads the BMP from the file.

비공개 메소드들

메소드 설명
BuildPixels ( Color &pixels, Stream &file, uint bitCount, int pixelWidth, int pixelHeight ) : void
CheckSignature ( Stream &file ) : bool
FormUint2 ( byte bytes ) : uint
FormUint4 ( byte bytes ) : uint
LoadFile ( string fileName ) : byte[]
ParseBytes ( Stream &file, BMPHeader &bmpHeader ) : void
ReadFile ( Stream stream ) : byte[]

메소드 상세

GetPixelData() 공개 정적인 메소드

ImageData takes a fileName (string) and loads the BMP from the file.
public static GetPixelData ( string fileName ) : ImageData
fileName string
리턴 FlatRedBall.Graphics.Texture.ImageData