GetPixelBufferSize<T>(Rectangle?)

Method

Namespace: Imagini.Drawing

Declared in: Imagini.Drawing.Texture


Calculates the buffer size needed for pixel writing and reading operations.

Syntax

public int GetPixelBufferSize<T>(
	Rectangle? rectangle
)

Parameters

rectangle

Rectangle to read the data from, or null to read entire texture

See also

  • Lock

  • Back to index