Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

Raster Functions
[D3D9]

RwRasterLock
RwRasterLock will return a pointer to the raw pixel data for rasters of the type rwRASTERTYPENORMAL, rwRASTERTYPETEXTURE, rwRASTERTYPECAMERA, and rwRASTERTYPECAMERATEXTURE.
The remaining raster type rwRASTERTYPEZBUFFER will return a NULL pointer.

See also:
RwRasterUnlock
RwRasterSetFromImage
RwRasterSetFromImage will set the pixel data in a raster to that of the image provided. Given that the raster dimensions may have changed as described in Raster Types, the image dimensions are tested for equality with those of the raster and if they do not concur, the image is resampled to the raster size. This may result in image quality degradation so it is recommended that original artwork complies with any restrictions on the video card driver.
See also:
Raster Types
RwRasterShowRaster
The flag rwRASTERFLIPWAITVSYNC forces RenderWare Graphics to wait for the next vertical retrace on the output device on both windowed and full-screen applications.
See also:
RwRasterShowRaster

Criterion Software © 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:46:57 2004. Send Feedback