rprImageSetMipmapEnabled

Enabling mipmap makes lower resolution copies of the image which the renderer will use for textures in objects that are very small on screen.

rpr_status rprImageSetMipmapEnabled(

rpr_image image,

rpr_bool enabled);

Parameters

Parameter

Description

image

The image to set mipmap for.

enabled

Enable (true) or disable (false) mipmap.

Notes

It can lead to performance gains but takes more memory and pre-processing time.

Return

Returns RPR_SUCCESS in case of success, or RPR_ERROR code if a problem was encountered.

To learn how to handle errors in AMD Radeon ProRender SDK, see Error Handling.