You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
698 B
26 lines
698 B
//-----------------------------------------------------------------------------
|
|
//
|
|
// This file contains the ramp texel read routines.
|
|
//
|
|
// Copyright (C) Microsoft Corporation, 1997.
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
|
|
include(`m4hdr.mh')dnl
|
|
include(`rtexread.mh')dnl
|
|
#include "pch.cpp"
|
|
#pragma hdrstop
|
|
|
|
dnl
|
|
dnl d_RampTexReadFunc
|
|
dnl
|
|
define(`d_RampTexReadFunc', `
|
|
D3DCOLOR Ramp_$1(INT32 iU, INT32 iV, INT32 iShiftU, PUINT8 pBits,
|
|
PD3DI_SPANTEX pTex)
|
|
{
|
|
d_RampTexelRead($1, $2, $3, $4, $5)dnl
|
|
return Color;
|
|
}
|
|
')dnl
|
|
dnl
|
|
d_RampTexReadBeads(`d_RampTexReadFunc(XX, `iU', `iV', `pBits', `iShiftU')', `XX')dnl
|