Modules | |
| Raster Types | |
| Raster Functions | |
| Raster 2D Functions | |
Functions | |
| RwRaster * | RwD3D9RasterStreamReadDDS (RwStream *stream) |
| RwBool | RwD3D9RasterIsCompressed (const RwRaster *raster) |
| RwRaster * | RwD3D9RasterCreate (RwUInt32 width, RwUInt32 height, RwUInt32 d3dFormat, RwUInt32 flags) |
|
||||||||||||||||||||
|
RwD3D9RasterCreate is used to create a new raster of the specified type with the given width, height and a D3D9 pixel format. The width and height are specified in pixels, and the flags indicate the type of the raster to create.
|
|
|
RwD3D9RasterIsCompressed is used to check if a raster is compressed or not.
|
|
|
RwD3D9RasterStreamReadDDS creates an RwRaster from a DDS stored in the open stream argument. This function currently supports all different flavors of DDS files, including DXT compressed textures, cube textures and mipmaps. If you try to load a raster with a format not supported by the video card drivers, RWD3D9 will automatically convert the texture to the most suitable raster format. For more information on DDS files, DXT compressed textures and cube textures, see the D3D9 SDK documentation.
|
© 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:46:57 2004.
Send Feedback