ldk_renderer_vegetation_interaction_clear
Disable the vegetation interaction field and release pass bindings.
LDK_API void ldk_renderer_vegetation_interaction_clear(LDKRenderer *renderer);
Parameters
LDKRenderer *renderer
- Renderer receiving this request.
ldk_renderer_vegetation_interaction_set
Bind a world-space interaction field sampled by vegetation shaders.
LDK_API bool ldk_renderer_vegetation_interaction_set(
LDKRenderer *renderer,
LDKResourceTexture texture,
Vec2 world_origin,
float world_size
);
Parameters
LDKRenderer *renderer
- Renderer receiving this request.
LDKResourceTexture texture
- Texture used by this operation.
Vec2 world_origin
- World origin used by this operation.
float world_size
- Size of the world buffer or region.
Returns
True if the operation succeeds; false otherwise.