rprImageSetInternalCompression

Note

This is a Northstar-only feature.

Defines if an image texture should be compressed internally in Northstar. Default is ‘True’ for better performance. If issues of image artifacts are present, set compression to ‘False’.

rpr_status rprImageSetInternalCompression(

rpr_image image,

rpr_uint compressionEnabled);

Parameters

Parameter

Description

image

The image to set compression for.

compressionEnabled

Flag indicating whether compression should be enabled.

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.