Readonly
height剪刀盒高度(像素)。
height ≥ 0
默认为画布高度或者渲染通道的附件高度。
Optional
Readonly
is是否为Y轴朝上。
WebGL中Y轴朝上,WebGPU中Y轴朝下。
默认为 ture。
Readonly
width剪刀盒宽度(像素)。
width ≥ 0
默认为画布宽度或者渲染通道的附件宽度。
Optional
Readonly
x剪刀盒横向坐标(像素)。
x ≥ 0
默认为 0 。
Optional
Readonly
y剪刀盒纵向坐标(像素)。
y ≥ 0
默认为 0 。
Generated using TypeDoc
剪刀盒。
设置了一个剪刀盒,它将绘图限制为一个指定的矩形。
Sets the scissor rectangle used during the rasterization stage. After transformation into viewport coordinates any fragments which fall outside the scissor rectangle will be discarded.
光栅化阶段中使用的剪刀矩形。
需要满足以下条件。
See