mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-19 14:52:40 +08:00
chore: remove redundant words (#18215)
Signed-off-by: sunxunle <sunxunle@ampere.tech>
This commit is contained in:
Vendored
+1
-1
@@ -716,7 +716,7 @@ interface GPUColorTargetState {
|
||||
*/
|
||||
blend?: GPUBlendState;
|
||||
/**
|
||||
* Bitmask controlling which channels are are written to when drawing to this color target.
|
||||
* Bitmask controlling which channels are written to when drawing to this color target.
|
||||
*/
|
||||
writeMask?: GPUColorWriteFlags;
|
||||
}
|
||||
|
||||
@@ -317,7 +317,7 @@ function compareX (a, b): number {
|
||||
return a.x - b.x;
|
||||
}
|
||||
|
||||
// find a bridge between vertices that connects hole with an outer ring and and link it
|
||||
// find a bridge between vertices that connects hole with an outer ring and link it
|
||||
function eliminateHole (hole: Aim, outerNode: Aim | null): void {
|
||||
outerNode = findHoleBridge(hole, outerNode!);
|
||||
if (outerNode) {
|
||||
|
||||
@@ -312,7 +312,7 @@ export class Pass {
|
||||
}
|
||||
|
||||
/**
|
||||
* @en Bind a GFX [[gfx.Texture]] the the given uniform binding
|
||||
* @en Bind a GFX [[gfx.Texture]] the given uniform binding
|
||||
* @zh 绑定实际 GFX [[gfx.Texture]] 到指定 binding。
|
||||
* @param binding The binding for target uniform of texture type
|
||||
* @param value Target texture
|
||||
@@ -322,7 +322,7 @@ export class Pass {
|
||||
}
|
||||
|
||||
/**
|
||||
* @en Bind a GFX [[gfx.Sampler]] the the given uniform binding
|
||||
* @en Bind a GFX [[gfx.Sampler]] the given uniform binding
|
||||
* @zh 绑定实际 GFX [[gfx.Sampler]] 到指定 binding。
|
||||
* @param binding The binding for target uniform of sampler type
|
||||
* @param value Target sampler
|
||||
|
||||
@@ -171,7 +171,7 @@ public:
|
||||
void setUniformArray(uint32_t handle, const MaterialPropertyList &value);
|
||||
|
||||
/**
|
||||
* @en Bind a GFX [[Texture]] the the given uniform binding
|
||||
* @en Bind a GFX [[Texture]] the given uniform binding
|
||||
* @zh 绑定实际 GFX [[Texture]] 到指定 binding。
|
||||
* @param binding The binding for target uniform of texture type
|
||||
* @param value Target texture
|
||||
@@ -179,7 +179,7 @@ public:
|
||||
void bindTexture(uint32_t binding, gfx::Texture *value, uint32_t index = 0);
|
||||
|
||||
/**
|
||||
* @en Bind a GFX [[Sampler]] the the given uniform binding
|
||||
* @en Bind a GFX [[Sampler]] the given uniform binding
|
||||
* @zh 绑定实际 GFX [[Sampler]] 到指定 binding。
|
||||
* @param binding The binding for target uniform of sampler type
|
||||
* @param value Target sampler
|
||||
|
||||
Reference in New Issue
Block a user