rpr_image_desc

Describes an rpr_image size in pixels, bytes, etc.

Name

Type

Description

image_width

rpr_uint

Image width in pixels.

image_height

rpr_uint

Image height in pixels.

image_depth

rpr_uint

Depth of image (1 for a 2D image, a higher value for a 3D texture).

image_row_pitch

rpr_uint

Number of bytes to each row of the image.

image_slice_pitch

rpr_uint

Number of bytes to each slice (X,Y) of an image for a 3D image.