|
2 | 2 | <registry>
|
3 | 3 | <comment copyright="true"> /*****************************************************************************\
|
4 | 4 | *
|
5 |
| -* Module Name FireRender.h |
6 |
| -* Project FireRender Engine |
| 5 | +* Module Name RadeonProRender.h |
| 6 | +* Project AMD Radeon ProRender |
7 | 7 | *
|
8 |
| -* Description Fire Render Interface header |
| 8 | +* Description Radeon ProRender Interface header |
9 | 9 | *
|
10 |
| -* Copyright 2017 Advanced Micro Devices, Inc. |
| 10 | +* Copyright 2019 Advanced Micro Devices, Inc. |
11 | 11 | *
|
12 | 12 | * All rights reserved. This notice is intended as a precaution against
|
13 | 13 | * inadvertent publication and does not imply publication or any waiver
|
14 | 14 | * of confidentiality. The year included in the foregoing notice is the
|
15 | 15 | * year of creation of the work.
|
16 | 16 | * @author Dmitry Kozlov ( [email protected])
|
17 | 17 | * @author Takahiro Harada ( [email protected])
|
18 |
| -* @bug No known bugs. |
| 18 | +* @author Richard Geslot ( [email protected]) |
| 19 | +* |
19 | 20 | *
|
20 | 21 |
|
21 | 22 |
|
|
28 | 29 |
|
29 | 30 | <language_C def="extern_c" />
|
30 | 31 |
|
31 |
| - <define name="RPR_API_VERSION" value="0x010032400 "/> |
| 32 | + <define name="RPR_API_VERSION" value="0x010033300 "/> |
32 | 33 | <define name="RPR_API_VERSION_MINOR" value="_API_VER_MINOR_ "/>
|
33 | 34 |
|
34 | 35 | <group name ="Status" prefix ="RPR_" type ="rpr_status">
|
|
106 | 107 | <define name="RPR_FILTER_LANCZOS" value="0x5 "/>
|
107 | 108 | <define name="RPR_FILTER_BLACKMANHARRIS" value="0x6 "/>
|
108 | 109 | </group>
|
| 110 | + |
| 111 | + <group name ="ContextSamplerType" prefix="RPR_CONTEXT_SAMPLER_TYPE_" type="rpr_context_sampler_type"> |
| 112 | + <define name="RPR_CONTEXT_SAMPLER_TYPE_SOBOL" value="0x1 "/> |
| 113 | + <define name="RPR_CONTEXT_SAMPLER_TYPE_RANDOM" value="0x2 "/> |
| 114 | + <define name="RPR_CONTEXT_SAMPLER_TYPE_CMJ" value="0x3 "/> |
| 115 | + </group> |
| 116 | + |
109 | 117 | <group name ="ShapeType" prefix="RPR_SHAPE_TYPE_" type="rpr_shape_type">
|
110 | 118 | <define name="RPR_SHAPE_TYPE_MESH" value="0x1 "/>
|
111 | 119 | <define name="RPR_SHAPE_TYPE_INSTANCE" value="0x2 "/>
|
|
120 | 128 | </group>
|
121 | 129 | <comment>/* rpr_object_info */</comment>
|
122 | 130 | <define name="RPR_OBJECT_NAME" value="0x777777 " type="rpr_object_info"/>
|
| 131 | + |
123 | 132 | <comment>/* rpr_context_properties */</comment>
|
124 | 133 | <define name="RPR_CONTEXT_CREATEPROP_CPU_THREAD_LIMIT" value="0x600 "/>
|
125 | 134 | <define name="RPR_CONTEXT_CREATEPROP_COMPILE_CALLBACK" value="0x601 "/>
|
126 | 135 | <define name="RPR_CONTEXT_CREATEPROP_COMPILE_USER_DATA" value="0x602 "/>
|
| 136 | + <define name="RPR_CONTEXT_CREATEPROP_SAMPLER_TYPE" value="0x603 "/> |
| 137 | + |
127 | 138 | <group name ="ContextInfo" prefix="RPR_CONTEXT_" type="rpr_context_info">
|
128 | 139 | <define name="RPR_CONTEXT_CREATION_FLAGS" value="0x102 "/>
|
129 | 140 | <define name="RPR_CONTEXT_CACHE_PATH" value="0x103 "/>
|
|
205 | 216 | <define name="RPR_CONTEXT_USER_TEXTURE_2" value="0x14E "/>
|
206 | 217 | <define name="RPR_CONTEXT_USER_TEXTURE_3" value="0x14F "/>
|
207 | 218 | <define name="RPR_CONTEXT_MIPMAP_LOD_OFFSET" value="0x150 "/>
|
208 |
| - |
| 219 | + <define name="RPR_CONTEXT_AO_RAY_COUNT" value="0x151 "/> |
| 220 | + <define name="RPR_CONTEXT_SAMPLER_TYPE" value="0x152 "/> |
| 221 | + <define name="RPR_CONTEXT_ADAPTIVE_SAMPLING_TILE_SIZE" value="0x153 "/> |
| 222 | + <define name="RPR_CONTEXT_ADAPTIVE_SAMPLING_MIN_SPP" value="0x154 "/> |
| 223 | + <define name="RPR_CONTEXT_ADAPTIVE_SAMPLING_THRESHOLD" value="0x155 "/> |
| 224 | + <define name="RPR_CONTEXT_TILE_SIZE" value="0x156 "/> |
209 | 225 | </group>
|
210 | 226 | <comment>/* last of the RPR_CONTEXT_* */</comment>
|
211 |
| - <define name="RPR_CONTEXT_MAX" value="0x151 "/> |
| 227 | + <define name="RPR_CONTEXT_MAX" value="0x157 "/> |
212 | 228 |
|
213 | 229 |
|
214 | 230 |
|
|
537 | 553 | <define name="RPR_MATERIAL_INPUT_2" value="0x29 "/>
|
538 | 554 | <define name="RPR_MATERIAL_INPUT_3" value="0x2a "/>
|
539 | 555 | <define name="RPR_MATERIAL_INPUT_4" value="0x2b "/>
|
540 |
| - <define name="RPR_MATERIAL_INPUT_MAX" value="0x2c "/> |
| 556 | + <define name="RPR_MATERIAL_INPUT_SCHLICK_APPROXIMATION" value="0x2c "/> |
| 557 | + <define name="RPR_MATERIAL_INPUT_MAX" value="0x2d "/> |
541 | 558 | </group>
|
542 | 559 | <group name ="MaterialStandardInput" prefix="RPR_MATERIAL_STANDARD_INPUT_" type="rpr_material_node_input">
|
543 | 560 | <define name="RPR_MATERIAL_STANDARD_INPUT_DIFFUSE_COLOR" value="0x112 "/>
|
|
670 | 687 | <define name="RPR_AOV_LIGHT_GROUP2" value="0x19 "/>
|
671 | 688 | <define name="RPR_AOV_LIGHT_GROUP3" value="0x1a "/>
|
672 | 689 | <define name="RPR_AOV_DIFFUSE_ALBEDO" value="0x1b "/>
|
673 |
| - <define name="RPR_AOV_MAX" value="0x1c "/> |
| 690 | + <define name="RPR_AOV_VARIANCE" value="0x1c "/> |
| 691 | + <define name="RPR_AOV_MAX" value="0x1d "/> |
674 | 692 | </group>
|
675 | 693 | <group name ="PostEffectType" prefix="RPR_POST_EFFECT_" type="rpr_post_effect_type">
|
676 | 694 | <define name="RPR_POST_EFFECT_TONE_MAP" value="0x0 "/>
|
|
748 | 766 | <define name="RPR_COMPOSITE_LUT" value="0xe "/>
|
749 | 767 | </group>
|
750 | 768 |
|
751 |
| - <comment>/*rpr_hetero_volume_parameter*/</comment> |
752 |
| - <group name ="HeteroVolume" prefix="RPR_HETEROVOLUME_" type="rpr_hetero_volume_parameter"> |
753 |
| - <define name="RPR_HETEROVOLUME_SIZE_X" value="0x730 "/> |
754 |
| - <define name="RPR_HETEROVOLUME_SIZE_Y" value="0x731 "/> |
755 |
| - <define name="RPR_HETEROVOLUME_SIZE_Z" value="0x732 "/> |
756 |
| - <define name="RPR_HETEROVOLUME_DATA" value="0x733 "/> |
757 |
| - <define name="RPR_HETEROVOLUME_DATA_SIZEBYTE" value="0x734 "/> |
758 |
| - <define name="RPR_HETEROVOLUME_TRANSFORM" value="0x735 "/> |
759 |
| - <define name="RPR_HETEROVOLUME_INDICES" value="0x736 "/> |
760 |
| - <define name="RPR_HETEROVOLUME_INDICES_NUMBER" value="0x737 "/> |
761 |
| - <define name="RPR_HETEROVOLUME_INDICES_TOPOLOGY" value="0x738 "/> |
762 |
| - <define name="RPR_HETEROVOLUME_EMISSION" value="0x739 "/> |
763 |
| - <define name="RPR_HETEROVOLUME_ALBEDO" value="0x73a "/> |
764 |
| - <define name="RPR_HETEROVOLUME_FILTER" value="0x73b "/> |
| 769 | + |
| 770 | + |
| 771 | + |
| 772 | + |
| 773 | + |
| 774 | + |
| 775 | + |
| 776 | + <group name ="Grid" prefix="RPR_GRID_" type="rpr_grid_parameter"> |
| 777 | + <define name="RPR_GRID_SIZE_X" value="0x930 "/> |
| 778 | + <define name="RPR_GRID_SIZE_Y" value="0x931 "/> |
| 779 | + <define name="RPR_GRID_SIZE_Z" value="0x932 "/> |
| 780 | + <define name="RPR_GRID_DATA" value="0x933 "/> |
| 781 | + <define name="RPR_GRID_DATA_SIZEBYTE" value="0x934 "/> |
| 782 | + <define name="RPR_GRID_INDICES" value="0x936 "/> |
| 783 | + <define name="RPR_GRID_INDICES_NUMBER" value="0x937 "/> |
| 784 | + <define name="RPR_GRID_INDICES_TOPOLOGY" value="0x938 "/> |
765 | 785 | </group>
|
766 |
| - <group name ="HeteroVolumeIndicesTopology" prefix="RPR_HETEROVOLUME_INDICES_TOPOLOGY_" type="rpr_hetero_volume_indices_topology"> |
767 |
| - <define name="RPR_HETEROVOLUME_INDICES_TOPOLOGY_I_U64" value="0x750 "/> |
768 |
| - <define name="RPR_HETEROVOLUME_INDICES_TOPOLOGY_XYZ_U32" value="0x751 "/> |
769 |
| - <define name="RPR_HETEROVOLUME_INDICES_TOPOLOGY_I_S64" value="0x752 "/> |
770 |
| - <define name="RPR_HETEROVOLUME_INDICES_TOPOLOGY_XYZ_S32" value="0x753 "/> |
| 786 | + |
| 787 | + <group name ="HeteroVolume" prefix="RPR_HETEROVOLUME_" type="rpr_hetero_volume_parameter"> |
| 788 | + <define name="RPR_HETEROVOLUME_TRANSFORM" value="0x735 "/> |
| 789 | + <define name="RPR_HETEROVOLUME_ALBEDO_V2" value="0x73c "/> |
| 790 | + <define name="RPR_HETEROVOLUME_DENSITY_V2" value="0x73d "/> |
| 791 | + <define name="RPR_HETEROVOLUME_EMISSION_V2" value="0x73e "/> |
| 792 | + <define name="RPR_HETEROVOLUME_ALBEDO_LOOKUP_VALUES" value="0x73f "/> |
| 793 | + <define name="RPR_HETEROVOLUME_ALBEDO_LOOKUP_VALUES_COUNT" value="0x740 "/> |
| 794 | + <define name="RPR_HETEROVOLUME_DENSITY_LOOKUP_VALUES" value="0x741 "/> |
| 795 | + <define name="RPR_HETEROVOLUME_DENSITY_LOOKUP_VALUES_COUNT" value="0x742 "/> |
| 796 | + <define name="RPR_HETEROVOLUME_EMISSION_LOOKUP_VALUES" value="0x743 "/> |
| 797 | + <define name="RPR_HETEROVOLUME_EMISSION_LOOKUP_VALUES_COUNT" value="0x744 "/> |
| 798 | + <define name="RPR_HETEROVOLUME_ALBEDO_SCALE" value="0x745 "/> |
| 799 | + <define name="RPR_HETEROVOLUME_DENSITY_SCALE" value="0x746 "/> |
| 800 | + <define name="RPR_HETEROVOLUME_EMISSION_SCALE" value="0x747 "/> |
771 | 801 | </group>
|
772 | 802 |
|
773 |
| - <group name ="HeteroVolumeFilter" prefix="RPR_HETEROVOLUME_FILTER_" type="rpr_hetero_volume_filter"> |
774 |
| - <define name="RPR_HETEROVOLUME_FILTER_NEAREST" value="0x760 "/> |
775 |
| - <define name="RPR_HETEROVOLUME_FILTER_LINEAR" value="0x761 "/> |
| 803 | + |
| 804 | + |
| 805 | + <group name ="GridIndicesTopology" prefix="RPR_GRID_INDICES_TOPOLOGY_" type="rpr_grid_indices_topology"> |
| 806 | + <define name="RPR_GRID_INDICES_TOPOLOGY_I_U64" value="0x950 "/> |
| 807 | + <define name="RPR_GRID_INDICES_TOPOLOGY_XYZ_U32" value="0x951 "/> |
| 808 | + <define name="RPR_GRID_INDICES_TOPOLOGY_I_S64" value="0x952 "/> |
| 809 | + <define name="RPR_GRID_INDICES_TOPOLOGY_XYZ_S32" value="0x953 "/> |
776 | 810 | </group>
|
777 | 811 |
|
| 812 | + |
| 813 | + |
| 814 | + |
| 815 | + |
| 816 | + |
| 817 | + |
| 818 | + |
| 819 | + |
| 820 | + |
| 821 | + |
| 822 | + |
778 | 823 | <group name ="Curve" prefix="RPR_CURVE_" type="rpr_curve_parameter">
|
779 | 824 | <define name="RPR_CURVE_CONTROLPOINTS_COUNT" value="0x830 "/>
|
780 | 825 | <define name="RPR_CURVE_CONTROLPOINTS_DATA" value="0x831 "/>
|
|
815 | 860 | <typedef name="rpr_image" type="void *"/>
|
816 | 861 | <typedef name="rpr_buffer" type="void *"/>
|
817 | 862 | <typedef name="rpr_hetero_volume" type="void *"/>
|
| 863 | + <typedef name="rpr_grid" type="void *"/> |
818 | 864 | <typedef name="rpr_curve" type="void *"/>
|
819 | 865 | <typedef name="rpr_framebuffer" type="void *"/>
|
820 | 866 | <typedef name="rpr_material_system" type="void *"/>
|
|
829 | 875 | <typedef name="rpr_context_type" type="rpr_uint"/>
|
830 | 876 | <typedef name="rpr_creation_flags" type="rpr_bitfield"/>
|
831 | 877 | <typedef name="rpr_aa_filter" type="rpr_uint"/>
|
| 878 | + <typedef name="rpr_context_sampler_type" type="rpr_uint"/> |
832 | 879 | <typedef name="rpr_context_info" type="rpr_uint"/>
|
833 | 880 | <typedef name="rpr_camera_info" type="rpr_uint"/>
|
834 | 881 | <typedef name="rpr_image_info" type="rpr_uint"/>
|
|
871 | 918 | <typedef name="rpr_image_filter_type" type="rpr_uint"/>
|
872 | 919 | <typedef name="rpr_material_node_arithmetic_operation" type="rpr_uint"/>
|
873 | 920 | <typedef name="rpr_hetero_volume_parameter" type="rpr_uint"/>
|
| 921 | + <typedef name="rpr_grid_parameter" type="rpr_uint"/> |
874 | 922 | <typedef name="rpr_curve_parameter" type="rpr_uint"/>
|
875 |
| - <typedef name="rpr_hetero_volume_indices_topology" type="rpr_uint"/> |
876 |
| - <typedef name="rpr_hetero_volume_filter" type="rpr_uint"/> |
| 923 | + <typedef name="rpr_grid_indices_topology" type="rpr_uint"/> |
877 | 924 | <struct name="_rpr_image_desc" camelCaseName="ImageDesc" prefix ="image_">
|
878 | 925 | <declaration byte_align="4" byte_size="4" name="image_width" type="rpr_uint"/>
|
879 | 926 | <declaration byte_align="4" byte_size="4" name="image_height" type="rpr_uint"/>
|
|
934 | 981 | /** @brief Create rendering context
|
935 | 982 | *
|
936 | 983 | * Rendering context is a root concept encapsulating the render states and responsible
|
937 |
| - * for execution control. All the entities in FireRender are created for a particular rendering context. |
| 984 | + * for execution control. All the entities in Radeon ProRender are created for a particular rendering context. |
938 | 985 | * Entities created for some context can't be used with other contexts. Possible error codes for this call are:
|
939 | 986 | *
|
940 | 987 | * RPR_ERROR_COMPUTE_API_NOT_SUPPORTED
|
|
949 | 996 | * @param props Context creation properties. Specifies a list of context property names and their corresponding values.
|
950 | 997 | * Each property name is immediately followed by the corresponding desired value.
|
951 | 998 | * The list is terminated with 0.
|
952 |
| - * @param cache_path Full path to kernel cache created by FireRender, NULL means to use current folder |
| 999 | + * @param cache_path Full path to kernel cache created by Radeon ProRender, NULL means to use current folder |
953 | 1000 | * @param cpu_thread_limit Limit for the number of threads used for CPU rendering
|
954 | 1001 | * @param out_context Pointer to context object
|
955 | 1002 | * @return RPR_SUCCESS in case of success, error code otherwise
|
|
1370 | 1417 | <comment>
|
1371 | 1418 | /** @brief Create a mesh
|
1372 | 1419 | *
|
1373 |
| - * FireRender supports mixed meshes consisting of triangles and quads. |
| 1420 | + * Radeon ProRender supports mixed meshes consisting of triangles and quads. |
1374 | 1421 | *
|
1375 | 1422 | * Possible error codes are:
|
1376 | 1423 | *
|
|
2198 | 2245 | * @param shape The shape to set shadow flag for
|
2199 | 2246 | * @param visible Determines if the shape casts shadow
|
2200 | 2247 | * @return RPR_SUCCESS in case of success, error code otherwise
|
| 2248 | + * |
| 2249 | + * rprShapeSetShadow(shape, X) removed -> replace it by rprShapeSetVisibilityFlag(shape,RPR_SHAPE_VISIBILITY_SHADOW, X ) |
| 2250 | + * |
2201 | 2251 | */
|
2202 | 2252 | </comment>
|
2203 |
| - <function name="rprShapeSetShadow" return_type="rpr_int"> |
2204 |
| - <arg byte_align="0" byte_size="0" name="shape" type="rpr_shape"/> |
2205 |
| - <arg byte_align="4" byte_size="4" name="casts_shadow" type="rpr_bool"/> |
2206 |
| - </function> |
2207 |
| - |
| 2253 | + |
2208 | 2254 |
|
2209 | 2255 | <comment>
|
2210 | 2256 | /** @brief Set light world transform
|
|
2338 | 2384 | <arg byte_align="0" byte_size="0" name="size_ret" is_out ="true" type="size_t *"/>
|
2339 | 2385 | </function>
|
2340 | 2386 |
|
| 2387 | + <function name="rprGridGetInfo" return_type="rpr_int"> |
| 2388 | + <arg byte_align="0" byte_size="0" name="grid" type="rpr_grid"/> |
| 2389 | + <arg byte_align="4" byte_size="4" name="grid_info" type="rpr_grid_parameter"/> |
| 2390 | + <arg byte_align="8" byte_size="8" name="size" type="size_t"/> |
| 2391 | + <arg byte_align="0" byte_size="0" name="data" type="void *"/> |
| 2392 | + <arg byte_align="0" byte_size="0" name="size_ret" is_out ="true" type="size_t *"/> |
| 2393 | + </function> |
| 2394 | + |
2341 | 2395 |
|
2342 | 2396 | <comment>
|
2343 | 2397 | /** @brief Query information about a Buffer
|
|
3145 | 3199 | * RPR_ERROR_OUT_OF_SYSTEM_MEMORY
|
3146 | 3200 | * RPR_ERROR_OUT_OF_VIDEO_MEMORY
|
3147 | 3201 | *
|
| 3202 | + * if normalizeOnly is TRUE : it only normalizes src_frame_buffer, and write the result in dst_frame_buffer. |
| 3203 | + * if normalizeOnly is FALSE : it applies all the rpr_post_process attached to the context with rprContextAttachPostEffect |
| 3204 | + * |
3148 | 3205 | * Note: in RPR API 1.310, the default value of normalizeOnly has been removed.
|
3149 | 3206 | * Set it to FALSE, if you don't use this argument.
|
3150 | 3207 | *
|
|
3291 | 3348 |
|
3292 | 3349 | <function name="rprContextCreateLUTFromFile" return_type="rpr_int">
|
3293 | 3350 | <arg byte_align="0" byte_size="0" name="context" type="rpr_context"/>
|
3294 |
| - <arg byte_align="0" byte_size="0" name="fileLutPath" type="rpr_char const *"/> |
| 3351 | + <arg byte_align="0" byte_size="0" name="fileLutPath" type="const rpr_char *"/> |
3295 | 3352 | <arg byte_align="0" byte_size="0" name="out_lut" is_out="true" type="rpr_lut *"/>
|
3296 | 3353 | </function>
|
3297 | 3354 | <function name="rprContextCreateLUTFromData" return_type="rpr_int">
|
3298 | 3355 | <arg byte_align="0" byte_size="0" name="context" type="rpr_context"/>
|
3299 |
| - <arg byte_align="0" byte_size="0" name="lutData" type="rpr_char const *"/> |
| 3356 | + <arg byte_align="0" byte_size="0" name="lutData" type="const rpr_char *"/> |
3300 | 3357 | <arg byte_align="0" byte_size="0" name="out_lut" is_out="true" type="rpr_lut *"/>
|
3301 | 3358 | </function>
|
3302 | 3359 |
|
|
3458 | 3515 | </function>
|
3459 | 3516 |
|
3460 | 3517 |
|
3461 |
| - <function name="rprContextCreateHeteroVolume" return_type="rpr_int"> |
| 3518 | + |
| 3519 | + |
| 3520 | + <function name="rprContextCreateGrid" return_type="rpr_int"> |
3462 | 3521 | <arg byte_align="0" byte_size="0" name="context" type="rpr_context"/>
|
3463 |
| - <arg byte_align="0" byte_size="0" is_out="true" name="out_heteroVolume" type="rpr_hetero_volume *"/> |
| 3522 | + <arg byte_align="0" byte_size="0" is_out="true" name="out_grid" type="rpr_grid *"/> |
3464 | 3523 | <arg byte_align="0" byte_size="0" name="gridSizeX" type="size_t"/>
|
3465 | 3524 | <arg byte_align="0" byte_size="0" name="gridSizeY" type="size_t"/>
|
3466 | 3525 | <arg byte_align="0" byte_size="0" name="gridSizeZ" type="size_t"/>
|
3467 | 3526 | <arg byte_align="0" byte_size="0" name="indicesList" type="void const *"/>
|
3468 | 3527 | <arg byte_align="0" byte_size="0" name="numberOfIndices" type="size_t"/>
|
3469 |
| - <arg byte_align="0" byte_size="0" name="indicesListTopology" type="rpr_hetero_volume_indices_topology"/> |
| 3528 | + <arg byte_align="0" byte_size="0" name="indicesListTopology" type="rpr_grid_indices_topology"/> |
3470 | 3529 | <arg byte_align="0" byte_size="0" name="gridData" type="void const *"/>
|
3471 | 3530 | <arg byte_align="0" byte_size="0" name="gridDataSizeByte" type="size_t"/>
|
3472 | 3531 | <arg byte_align="0" byte_size="0" name="gridDataTopology___unused" type="rpr_uint"/>
|
3473 | 3532 | </function>
|
| 3533 | + |
| 3534 | + <function name="rprContextCreateHeteroVolume" return_type="rpr_int"> |
| 3535 | + <arg byte_align="0" byte_size="0" name="context" type="rpr_context"/> |
| 3536 | + <arg byte_align="0" byte_size="0" is_out="true" name="out_heteroVolume" type="rpr_hetero_volume *"/> |
| 3537 | + </function> |
3474 | 3538 |
|
| 3539 | + |
| 3540 | + |
3475 | 3541 | <function name="rprShapeSetHeteroVolume" return_type="rpr_int">
|
3476 | 3542 | <arg byte_align="0" byte_size="0" name="shape" type="rpr_shape"/>
|
3477 | 3543 | <arg byte_align="0" byte_size="0" name="heteroVolume" type="rpr_hetero_volume"/>
|
|
3483 | 3549 | <arg byte_align="0" byte_size="0" name="transform" type="rpr_float const *"/>
|
3484 | 3550 | </function>
|
3485 | 3551 |
|
3486 |
| - <function name="rprHeteroVolumeSetEmission" return_type="rpr_int"> |
| 3552 | + |
| 3553 | + <function name="rprHeteroVolumeSetEmissionGrid" return_type="rpr_int"> |
3487 | 3554 | <arg byte_align="0" byte_size="0" name="heteroVolume" type="rpr_hetero_volume"/>
|
3488 |
| - <arg byte_align="0" byte_size="0" name="r" type="rpr_float"/> |
3489 |
| - <arg byte_align="0" byte_size="0" name="g" type="rpr_float"/> |
3490 |
| - <arg byte_align="0" byte_size="0" name="b" type="rpr_float"/> |
| 3555 | + <arg byte_align="0" byte_size="0" name="grid" type="rpr_grid"/> |
3491 | 3556 | </function>
|
3492 | 3557 |
|
3493 |
| - <function name="rprHeteroVolumeSetAlbedo" return_type="rpr_int"> |
| 3558 | + <function name="rprHeteroVolumeSetDensityGrid" return_type="rpr_int"> |
3494 | 3559 | <arg byte_align="0" byte_size="0" name="heteroVolume" type="rpr_hetero_volume"/>
|
3495 |
| - <arg byte_align="0" byte_size="0" name="r" type="rpr_float"/> |
3496 |
| - <arg byte_align="0" byte_size="0" name="g" type="rpr_float"/> |
3497 |
| - <arg byte_align="0" byte_size="0" name="b" type="rpr_float"/> |
| 3560 | + <arg byte_align="0" byte_size="0" name="grid" type="rpr_grid"/> |
3498 | 3561 | </function>
|
3499 | 3562 |
|
3500 |
| - <function name="rprHeteroVolumeSetFilter" return_type="rpr_int"> |
| 3563 | + <function name="rprHeteroVolumeSetAlbedoGrid" return_type="rpr_int"> |
3501 | 3564 | <arg byte_align="0" byte_size="0" name="heteroVolume" type="rpr_hetero_volume"/>
|
3502 |
| - <arg byte_align="0" byte_size="0" name="filter" type="rpr_hetero_volume_filter"/> |
| 3565 | + <arg byte_align="0" byte_size="0" name="grid" type="rpr_grid"/> |
| 3566 | + </function> |
| 3567 | + |
| 3568 | + <function name="rprHeteroVolumeSetEmissionLookup" return_type="rpr_int"> |
| 3569 | + <arg byte_align="0" byte_size="0" name="heteroVolume" type="rpr_hetero_volume"/> |
| 3570 | + <arg byte_align="0" byte_size="0" name="ptr" type="rpr_float const *"/> |
| 3571 | + <arg byte_align="0" byte_size="0" name="n" type="rpr_uint"/> |
| 3572 | + </function> |
| 3573 | + |
| 3574 | + <function name="rprHeteroVolumeSetDensityLookup" return_type="rpr_int"> |
| 3575 | + <arg byte_align="0" byte_size="0" name="heteroVolume" type="rpr_hetero_volume"/> |
| 3576 | + <arg byte_align="0" byte_size="0" name="ptr" type="rpr_float const *"/> |
| 3577 | + <arg byte_align="0" byte_size="0" name="n" type="rpr_uint"/> |
| 3578 | + </function> |
| 3579 | + |
| 3580 | + <function name="rprHeteroVolumeSetAlbedoLookup" return_type="rpr_int"> |
| 3581 | + <arg byte_align="0" byte_size="0" name="heteroVolume" type="rpr_hetero_volume"/> |
| 3582 | + <arg byte_align="0" byte_size="0" name="ptr" type="rpr_float const *"/> |
| 3583 | + <arg byte_align="0" byte_size="0" name="n" type="rpr_uint"/> |
| 3584 | + </function> |
| 3585 | + |
| 3586 | + |
| 3587 | + <function name="rprHeteroVolumeSetAlbedoScale" return_type="rpr_int"> |
| 3588 | + <arg byte_align="0" byte_size="0" name="heteroVolume" type="rpr_hetero_volume"/> |
| 3589 | + <arg byte_align="0" byte_size="0" name="scale" type="rpr_float"/> |
| 3590 | + </function> |
| 3591 | + <function name="rprHeteroVolumeSetEmissionScale" return_type="rpr_int"> |
| 3592 | + <arg byte_align="0" byte_size="0" name="heteroVolume" type="rpr_hetero_volume"/> |
| 3593 | + <arg byte_align="0" byte_size="0" name="scale" type="rpr_float"/> |
| 3594 | + </function> |
| 3595 | + <function name="rprHeteroVolumeSetDensityScale" return_type="rpr_int"> |
| 3596 | + <arg byte_align="0" byte_size="0" name="heteroVolume" type="rpr_hetero_volume"/> |
| 3597 | + <arg byte_align="0" byte_size="0" name="scale" type="rpr_float"/> |
| 3598 | + |
3503 | 3599 | </function>
|
3504 | 3600 |
|
3505 | 3601 |
|
|
0 commit comments