OpenGlRenderer
OpenGLRenderer renders texture image to the output surface.
OpenGLRenderer's methods must run on the same thread, so called GL thread. The GL thread is locked as the thread running the .init method, otherwise an IllegalStateException will be thrown when other methods are called.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun init(dynamicRange: DynamicRangeProfile, shaderOverrides: Map<GLUtils.InputFormat?, ShaderProvider?>): GraphicDeviceInfo
Initializes the OpenGLRenderer
Link copied to clipboard
Link copied to clipboard
Register the output surface.
Link copied to clipboard
Link copied to clipboard
Sets the input format.
Link copied to clipboard
Unregister the output surface.
Link copied to clipboard