rprImageSetFilter

Sets the filter for an image.

rpr_status rprImageSetFilter(

rpr_image image,

rpr_image_filter_type type);

Parameters

Parameter

Description

image

The image to set filter for.

type

The type of filter to set.

Notes

Linear filter is less blocky but slower, this is the default.

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.