|
@@ -451,7 +451,7 @@
|
|
<div>
|
|
<div>
|
|
Resizes the output canvas to (width, height) with device pixel ratio taken into account,
|
|
Resizes the output canvas to (width, height) with device pixel ratio taken into account,
|
|
and also sets the viewport to fit that size, starting in (0, 0).
|
|
and also sets the viewport to fit that size, starting in (0, 0).
|
|
- Setting [page:Boolean updateStyle] to true adds explicit pixel units to the output canvas style.
|
|
|
|
|
|
+ Setting [page:Boolean updateStyle] to false prevents any style changes to the output canvas.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<h3>[method:null setTexture2D]( [page:Texture texture], [page:number slot] )</h3>
|
|
<h3>[method:null setTexture2D]( [page:Texture texture], [page:number slot] )</h3>
|