@lightningjs/renderer
Advanced tools
Comparing version 2.7.1 to 2.7.2
@@ -42,2 +42,3 @@ import type { WebGlCoreCtxTexture } from '../WebGlCoreCtxTexture.js'; | ||
constructor(renderer: WebGlCoreRenderer); | ||
static z$__type__Props: SdfShaderProps; | ||
bindTextures(textures: WebGlCoreCtxTexture[]): void; | ||
@@ -44,0 +45,0 @@ protected bindProps(props: SdfShaderProps): void; |
@@ -53,2 +53,3 @@ /* | ||
} | ||
static z$__type__Props; | ||
bindTextures(textures) { | ||
@@ -55,0 +56,0 @@ const { glw } = this; |
@@ -63,3 +63,10 @@ /* | ||
super(stage); | ||
this.sdfShader = this.stage.shManager.loadShader('SdfShader').shader; | ||
this.sdfShader = this.stage.shManager.loadShader('SdfShader', { | ||
transform: new Float32Array(), | ||
color: 0, | ||
size: 0, | ||
scrollY: 0, | ||
distanceRange: 0, | ||
debug: false, | ||
}).shader; | ||
this.rendererBounds = { | ||
@@ -66,0 +73,0 @@ x1: 0, |
{ | ||
"name": "@lightningjs/renderer", | ||
"version": "2.7.1", | ||
"version": "2.7.2", | ||
"description": "Lightning 3 Renderer", | ||
@@ -64,2 +64,3 @@ "type": "module", | ||
], | ||
"packageManager": "pnpm@8.9.2", | ||
"engines": { | ||
@@ -66,0 +67,0 @@ "npm": ">= 10.0.0", |
@@ -201,3 +201,3 @@ /* | ||
return this.loadDynamicShader( | ||
props!, | ||
props as DynamicShaderProps, | ||
) as unknown as ShaderController<Type>; | ||
@@ -204,0 +204,0 @@ } |
@@ -82,2 +82,4 @@ /* | ||
static z$__type__Props: SdfShaderProps; | ||
override bindTextures(textures: WebGlCoreCtxTexture[]) { | ||
@@ -84,0 +86,0 @@ const { glw } = this; |
@@ -149,3 +149,10 @@ /* | ||
super(stage); | ||
this.sdfShader = this.stage.shManager.loadShader('SdfShader').shader; | ||
this.sdfShader = this.stage.shManager.loadShader('SdfShader', { | ||
transform: new Float32Array(), | ||
color: 0, | ||
size: 0, | ||
scrollY: 0, | ||
distanceRange: 0, | ||
debug: false, | ||
}).shader; | ||
this.rendererBounds = { | ||
@@ -152,0 +159,0 @@ x1: 0, |
@@ -58,3 +58,2 @@ /* | ||
this.resolvedProps = props; | ||
const keys = Object.keys(props); | ||
@@ -61,0 +60,0 @@ const l = keys.length; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2788129
580
59244