Click or drag to resize

glPixelStore Method

Set pixel storage alignment.

Namespace:  Ooogles
Assembly:  Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void PixelStore(
	glPixelStoreMode mode,
	glPixelStoreValue value
)

Parameters

mode
Type: OooglesglPixelStoreMode
the mode to set.
value
Type: OooglesglPixelStoreValue
the alignment value to set for the mode.
Remarks
This method sets pixel storage modes that affect the operation of subsequent ReadPixelsT(Int32, Int32, Int32, Int32, T, glPixelFormat, glPixelDataType) as well as the unpacking of texture patterns (see UploadT(glPixelFormat, Int32, Int32, T, Int32, glPixelDataType, Int32) and SubUploadT(glPixelFormat, Int32, Int32, Int32, Int32, T, Int32, glPixelDataType, Int32)).

The PackAlignment mode affects how pixel data is downloaded from the GPU into client memory. The UnpackAlignment mode affects how pixel data is uploaded from client memory to the GPU.

OpenGL API: glPixelStorei

See Also

Reference