mirror of
https://github.com/MapMakersAndProgrammers/Alternativa3D.git
synced 2025-10-27 02:19:11 -07:00
BitmapTextureResource: rename constructor parameter to resizeForGPU
This commit is contained in:
@@ -45,9 +45,9 @@ package alternativa.engine3d.resources {
|
|||||||
/**
|
/**
|
||||||
* Uploads textures from <code>BitmapData</code> to GPU.
|
* Uploads textures from <code>BitmapData</code> to GPU.
|
||||||
*/
|
*/
|
||||||
public function BitmapTextureResource(data:BitmapData, resizeToPowerOfTwo:Boolean = false) {
|
public function BitmapTextureResource(data:BitmapData, resizeForGPU:Boolean = false) {
|
||||||
this.data = data;
|
this.data = data;
|
||||||
this.resizeForGPU = resizeToPowerOfTwo;
|
this.resizeForGPU = resizeForGPU;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user