Skip to content

Commit 4116dbf

Browse files
committed
doc: fix references to unset functions
1 parent 2410366 commit 4116dbf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ filters can be used.
10651065
To unset a previously set image parameter, returning it to a state as if it had
10661066
not been set, call
10671067

1068-
void oidnRemoveFilterImage(OIDNFilter filter, const char* name);
1068+
void oidnUnsetFilterImage(OIDNFilter filter, const char* name);
10691069

10701070
Some special data used by filters are opaque/untyped (e.g. trained model weights
10711071
blobs), which can be specified with the `oidnSetSharedFilterData` function:
@@ -1085,7 +1085,7 @@ updated by calling
10851085

10861086
Unsetting an opaque data parameter can be performed with
10871087

1088-
void oidnRemoveFilterData(OIDNFilter filter, const char* name);
1088+
void oidnUnsetFilterData(OIDNFilter filter, const char* name);
10891089

10901090
Filters may have parameters other than buffers as well, which you can set and
10911091
get using the following functions:

0 commit comments

Comments
 (0)