shaders
Compile and store a shader
Compile an SkSL source into the GLSL and WGSL variants the render engines run, and store it. Use the returned id as effects[].shader.id on a video, image, shape, frame or instance; POST /v1/shaders/{id}/probe renders one frame of it first.
post/v1/shaders
Request
- Base URL: https://api.framelane.io
- URL: https://api.framelane.io/v1/shaders
- Auth: HTTP bearer
Request body
Example request
{
"params": [
{
"name": "speed"
}
]
}Response
Successful Response
Example response
{
"id": "sh_01J8QR2K5VKDGN2T4FBM3CZYX7",
"params": [
{
"name": "speed"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.