DoFileRaster(3D)

NAME
DoFileRaster - Create a raster object

SYNOPSIS
C:
DtObject DoFileRaster(filename, specialstring)
DtPtr filename;
DtPtr specialstring;

FORTRAN:
INTEGER*4 DOFRS(FNAME, FLEN, SPCSTR, SLEN)
INTEGER*4 FLEN
CHARACTER*FLEN FNAME
INTEGER*4 SLEN
CHARACTER*SLEN SPCSTR

DESCRIPTION

DoFileRaster creates a raster object. Raster objects can, for example, be used as texture maps or as backgrounds for views.

The parameter filename is the name of a file containing raster data. If the file is a standard Dore raster file then specialstring should be set to DcNullPtr <DCNULL>. Some renderers may require special file formats for raster data, and the character string specialstring is used to specify the format of the file.

FORTRAN SPECIFIC
The parameter FNAME is the name of a file FLEN characters long containing raster data. The parameter SPCSTR is an optional format specification which is SLEN characters in length.

SEE ALSO
DoRaster(3D), DsFileRasterRead(3D), DsInqRaster(3D), DsRasterUpdate(3D), DsRasterWrite(3D), DvInqBackgroundRaster(3D), DvSetBackgroundRaster(3D)