#include <SlrShader.h>
Public Types | |
| typedef void(* | DeleteFunc) (void *self) |
Public Attributes | |
| void * | data |
| Allocated data blob. | |
| size_t | dataSize |
| Size of data blob in bytes. | |
| DeleteFunc | deleteFunc |
| Function to call when data blob is deleted. | |
One of these is stored in the thread safe SlrThreadContext for every SlrShader created allowing an SlrShader to safely store data that needs to be per thread, like DD::Image::Samplers, DD::Image::Pixels, etc.
| ©2026 The Foundry Visionmongers, Ltd. All Rights Reserved. |