Menu

Texture_set_filter

Hugh Greene

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
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 a texture to use trilinear filtering
texture_set_filter(tx_trilinear);

NOTOC


Related

Wiki: Texture_constants

MongoDB Logo MongoDB