C# 클래스 Glare.Assets.Formats.DdsFormat.PixelFormat

Describes the pixel format.
파일 보기 프로젝트 열기: Burton-Radons/Alexandria

공개 프로퍼티들

프로퍼티 타입 설명
Flags PixelFormatFlags
FourCC string
RBitMask int
RGBBitCount int

공개 메소드들

메소드 설명
MatchMasks ( int rMask, int gMask, int bMask ) : bool

Get whether the masks match.

MatchMasks ( int rMask, int gMask, int bMask, int aMask ) : bool

Get whether the masks match.

PixelFormat ( BinaryReader reader ) : System

Read the pixel format.

PixelFormat ( System.Text.Format format ) : System

Create the pixel format.

Write ( BinaryWriter writer ) : void

Write the pixel format.

메소드 상세

MatchMasks() 공개 메소드

Get whether the masks match.
public MatchMasks ( int rMask, int gMask, int bMask ) : bool
rMask int
gMask int
bMask int
리턴 bool

MatchMasks() 공개 메소드

Get whether the masks match.
public MatchMasks ( int rMask, int gMask, int bMask, int aMask ) : bool
rMask int
gMask int
bMask int
aMask int
리턴 bool

PixelFormat() 공개 메소드

Read the pixel format.
public PixelFormat ( BinaryReader reader ) : System
reader System.IO.BinaryReader
리턴 System

PixelFormat() 공개 메소드

Create the pixel format.
public PixelFormat ( System.Text.Format format ) : System
format System.Text.Format
리턴 System

Write() 공개 메소드

Write the pixel format.
public Write ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
리턴 void

프로퍼티 상세

Flags 공개적으로 프로퍼티

Flags for the pixel format.
public PixelFormatFlags Flags
리턴 PixelFormatFlags

FourCC 공개적으로 프로퍼티

Four character identifier of the pixel format.
public string FourCC
리턴 string

RBitMask 공개적으로 프로퍼티

Masks for each component.
public int RBitMask
리턴 int

RGBBitCount 공개적으로 프로퍼티

The number of bits in the colour parts.
public int RGBBitCount
리턴 int