C++ Java Unity
Unity Reference
ImageDescription Class Reference

Public Member Functions

 ImageDescription (int width, int height, int stride, int bufferWidth, int bufferHeight, PIXEL_FORMAT format)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Properties

int BufferHeight [get]
 The height (number of rows) of the underlying pixel buffer. More...
 
int BufferWidth [get]
 The width (number of columns) of the underlying pixel buffer. More...
 
int Height [get]
 The height of the image in pixels. Note that the pixel buffer can be higher than this. More...
 
PIXEL_FORMAT PixelFormat [get]
 The pixel format of the image More...
 
int Stride [get]
 The number of bytes between the start of a pixel row and the start of the next More...
 
int Width [get]
 The width of the image in pixels. Note that the pixel buffer can be wider than this. More...
 
static ImageDescription Zero [get]
 

Constructor & Destructor Documentation

ImageDescription ( int  width,
int  height,
int  stride,
int  bufferWidth,
int  bufferHeight,
PIXEL_FORMAT  format 
)

Member Function Documentation

override bool Equals ( object  obj)
override int GetHashCode ( )

Property Documentation

int BufferHeight
get

The height (number of rows) of the underlying pixel buffer.

int BufferWidth
get

The width (number of columns) of the underlying pixel buffer.

int Height
get

The height of the image in pixels. Note that the pixel buffer can be higher than this.

PIXEL_FORMAT PixelFormat
get

The pixel format of the image

int Stride
get

The number of bytes between the start of a pixel row and the start of the next

int Width
get

The width of the image in pixels. Note that the pixel buffer can be wider than this.

ImageDescription Zero
staticget