hpg_projects Wiki
collectiom of tutorials and projects created in LateralGM
Brought to you by:
hpg50
Sets the filtering mode for the texture
bound to the first sampler stage, the better the quality the slower to
render.
| Parameter | Data Type | Description |
|---|---|---|
| stage | int | index of the sampler stage to change |
| filter | integer | texture constant (tx_none, tx_nearest, tx_bilinear, tx_trilinear) |
void: This function does not return anything.
// demonstrates setting trilinear filtering
texture_set_filter_ext(0, tx_trilinear);
NOTOC