Skip to content

cf_free_shader_bytecode

Category: graphics
GitHub: cute_graphics.h


Free a bytecode blob previously returned from cf_compile_shader_to_bytecode.

void cf_free_shader_bytecode(CF_ShaderBytecode bytecode);
Parameters Description
bytecode The bytecode blob to free.

Remarks

This function must only be called on the bytecode blob returned from cf_compile_shader_to_bytecode. It cannot be called on the bytecode blob generated as a header from the cute-shaderc compiler.