Function BlamRendering::DirectX::Utils::GetPixelData

Function Documentation

Pixel BlamRendering::DirectX::Utils::GetPixelData(BYTE *origin, int x, int y, int width, int height)

Retrieves a pixel from the specified memory address.

Used in the Integer Scaler.

Return

The pixel data at the specified coordinates.

Parameters
  • origin: - The address to read pixel data from.

  • x: - The X coordinate of the pixel to read.

  • y: - The Y Coordinate of the pixel to read.

  • width: - The width of the bitmap.

  • height: - The height of the bitmap.