Skip to content

Texture_set_filter_ext

hpgDesigns edited this page Aug 8, 2021 · 1 revision

Description

Sets the filtering mode for the texture bound to the first sampler stage, the better the quality the slower to render.

Parameters

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)

Return Values

void: This function does not return anything.

Example Call

// demonstrates setting trilinear filtering
texture_set_filter_ext(0, tx_trilinear);

NOTOC

This is number 1

Clone this wiki locally