Add version string

This commit is contained in:
schmelczerandras 2020-10-31 16:02:45 +01:00
parent 068eff5d13
commit 9d22805fb0
4 changed files with 11 additions and 1 deletions

View file

@ -46,6 +46,8 @@ export const getUniversalRenderingContext = (
result.insights = {
isWebGL2: result.isWebGL2,
// @ts-ignore: injected by webpack
sdf2dVersion: __VERSION__,
extensions: {},
renderPasses: {
distance: {},

View file

@ -2,6 +2,7 @@ export interface RendererInfo {
isWebGL2: boolean;
vendor?: string;
renderer?: string;
sdf2dVersion?: string;
extensions: { [name: string]: boolean };
floatInterpolationEnabled?: boolean;
programCount?: number;