File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
2d/assembler/graphics/webgl Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -716,7 +716,7 @@ interface GPUColorTargetState {
716
716
*/
717
717
blend ?: GPUBlendState ;
718
718
/**
719
- * Bitmask controlling which channels are are written to when drawing to this color target.
719
+ * Bitmask controlling which channels are written to when drawing to this color target.
720
720
*/
721
721
writeMask ?: GPUColorWriteFlags ;
722
722
}
Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ function compareX (a, b): number {
317
317
return a . x - b . x ;
318
318
}
319
319
320
- // find a bridge between vertices that connects hole with an outer ring and and link it
320
+ // find a bridge between vertices that connects hole with an outer ring and link it
321
321
function eliminateHole ( hole : Aim , outerNode : Aim | null ) : void {
322
322
outerNode = findHoleBridge ( hole , outerNode ! ) ;
323
323
if ( outerNode ) {
Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ export class Pass {
312
312
}
313
313
314
314
/**
315
- * @en Bind a GFX [[gfx.Texture]] the the given uniform binding
315
+ * @en Bind a GFX [[gfx.Texture]] the given uniform binding
316
316
* @zh 绑定实际 GFX [[gfx.Texture]] 到指定 binding。
317
317
* @param binding The binding for target uniform of texture type
318
318
* @param value Target texture
@@ -322,7 +322,7 @@ export class Pass {
322
322
}
323
323
324
324
/**
325
- * @en Bind a GFX [[gfx.Sampler]] the the given uniform binding
325
+ * @en Bind a GFX [[gfx.Sampler]] the given uniform binding
326
326
* @zh 绑定实际 GFX [[gfx.Sampler]] 到指定 binding。
327
327
* @param binding The binding for target uniform of sampler type
328
328
* @param value Target sampler
Original file line number Diff line number Diff line change @@ -171,15 +171,15 @@ class Pass : public RefCounted {
171
171
void setUniformArray (uint32_t handle, const MaterialPropertyList &value);
172
172
173
173
/* *
174
- * @en Bind a GFX [[Texture]] the the given uniform binding
174
+ * @en Bind a GFX [[Texture]] the given uniform binding
175
175
* @zh 绑定实际 GFX [[Texture]] 到指定 binding。
176
176
* @param binding The binding for target uniform of texture type
177
177
* @param value Target texture
178
178
*/
179
179
void bindTexture (uint32_t binding, gfx::Texture *value, uint32_t index = 0 );
180
180
181
181
/* *
182
- * @en Bind a GFX [[Sampler]] the the given uniform binding
182
+ * @en Bind a GFX [[Sampler]] the given uniform binding
183
183
* @zh 绑定实际 GFX [[Sampler]] 到指定 binding。
184
184
* @param binding The binding for target uniform of sampler type
185
185
* @param value Target sampler
You can’t perform that action at this time.
0 commit comments