ACMX 2.139.0
Dual-Backend Real-Time GPU Video Synthesis
Loading...
Searching...
No Matches
ac Namespace Reference

Classes

class  ShaderProgram

Functions

bool loadComputeProgramBinaryFromCache (const std::string &source, GLuint &program)
 Restore a compute-only program binary keyed by source and GL driver.
bool saveComputeProgramBinaryToCache (const std::string &source, GLuint program)
 Save a linked compute-only program to its stage-specific cache key.

Function Documentation

◆ loadComputeProgramBinaryFromCache()

bool ac::loadComputeProgramBinaryFromCache ( const std::string & source,
GLuint & program )

Restore a compute-only program binary keyed by source and GL driver.

Definition at line 241 of file program.cpp.

References loadComputeProgramBinaryFromCache().

Referenced by loadComputeProgramBinaryFromCache(), and ShaderLibrary::makeComputeProgram().

◆ saveComputeProgramBinaryToCache()

bool ac::saveComputeProgramBinaryToCache ( const std::string & source,
GLuint program )

Save a linked compute-only program to its stage-specific cache key.

Definition at line 243 of file program.cpp.

References saveComputeProgramBinaryToCache().

Referenced by ShaderLibrary::makeComputeProgram(), and saveComputeProgramBinaryToCache().