fg_texture() (legacy function)

Win32 DirectX Fastgraph/Light

Prototype

void fg_texture (void *texture, int width);

Sub fg_texture (texture() As Any, ByVal width As Long)

procedure fg_texture (var texture; width : integer);

Description

The fg_texture() legacy function defines the texture map applied to the destination polygon in Fastgraph's texture-mapped polygon drawing functions.

Parameters

texture is the name of the array containing the texture map applied to the destination polygon. For 256-color virtual buffers, the texture array is a 256-color bitmap, but stored top-down. For direct color virtual buffers, it is a direct color bitmap, but again stored top-down.

width is the texture array width in pixels.

Return value

none

Restrictions

none

Replaced by

fg_tmdefine(), fg_tmselect()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.