bool AssignWorkBuffer(
uptr buffer,
size_t size
);
| Name | Description | |
|---|---|---|
| in | buffer | Start address of the memory to allocate. |
| in | size |
Size of the memory to allocate. |
true if memory allocation was successful; otherwise, returns false. Allocates a memory region to be used by the effect.
Memory allocation must occur before effects are passed to the SetEffect function.
The memory size required for the effects varies depending on parameter values. Be sure to get the memory size by calling the GetRequiredMemSize function.
CONFIDENTIAL