Method | Defined By | ||
---|---|---|---|
copyPreImgVb(vb:VertexBuffer2D, dx:Number, dy:Number):void [static] | GlUtils | ||
expandIBQuadrangle(buffer:IndexBuffer2D, count:int):void [static] | GlUtils | ||
fillIBQuadrangle(buffer:IndexBuffer2D, count:int):Boolean [static]
初始化全局IB,IB索引如下:
0___1
|\ |
| \ |
|__\|
3 2
| GlUtils | ||
fillLineVb(vb:VertexBuffer2D, clip:Rectangle, fx:Number, fy:Number, tx:Number, ty:Number, width:Number, mat:Matrix):Boolean [static] | GlUtils | ||
fillQuadrangleImgVb(vb:VertexBuffer2D, x:Number, y:Number, point4:Array, uv:Array, m:Matrix, _x:Number, _y:Number):Boolean [static] | GlUtils | ||
fillRectImgVb(vb:VertexBuffer2D, clip:Rectangle, x:Number, y:Number, width:Number, height:Number, uv:Array, m:Matrix, _x:Number, _y:Number, dx:Number, dy:Number, round:Boolean = false):Boolean [static] | GlUtils | ||
fillTranglesVB(vb:VertexBuffer2D, x:Number, y:Number, points:Array, m:Matrix, _x:Number, _y:Number):Boolean [static] | GlUtils | ||
make2DProjection(width:int, height:int, depth:int):* [static] | GlUtils | ||
mathCeilPowerOfTwo(value:int):int [static] | GlUtils |
copyPreImgVb | () | method |
public static function copyPreImgVb(vb:VertexBuffer2D, dx:Number, dy:Number):void
Parameters
vb:VertexBuffer2D | |
dx:Number | |
dy:Number |
expandIBQuadrangle | () | method |
public static function expandIBQuadrangle(buffer:IndexBuffer2D, count:int):void
Parameters
buffer:IndexBuffer2D | |
count:int |
fillIBQuadrangle | () | method |
public static function fillIBQuadrangle(buffer:IndexBuffer2D, count:int):Boolean
初始化全局IB,IB索引如下: 0___1 |\ | | \ | |__\| 3 2
Parameters
buffer:IndexBuffer2D | |
count:int |
Boolean |
fillLineVb | () | method |
public static function fillLineVb(vb:VertexBuffer2D, clip:Rectangle, fx:Number, fy:Number, tx:Number, ty:Number, width:Number, mat:Matrix):Boolean
Parameters
vb:VertexBuffer2D | |
clip:Rectangle | |
fx:Number | |
fy:Number | |
tx:Number | |
ty:Number | |
width:Number | |
mat:Matrix |
Boolean |
fillQuadrangleImgVb | () | method |
public static function fillQuadrangleImgVb(vb:VertexBuffer2D, x:Number, y:Number, point4:Array, uv:Array, m:Matrix, _x:Number, _y:Number):Boolean
Parameters
vb:VertexBuffer2D | |
x:Number | |
y:Number | |
point4:Array | |
uv:Array | |
m:Matrix | |
_x:Number | |
_y:Number |
Boolean |
fillRectImgVb | () | method |
public static function fillRectImgVb(vb:VertexBuffer2D, clip:Rectangle, x:Number, y:Number, width:Number, height:Number, uv:Array, m:Matrix, _x:Number, _y:Number, dx:Number, dy:Number, round:Boolean = false):Boolean
Parameters
vb:VertexBuffer2D | |
clip:Rectangle | |
x:Number | |
y:Number | |
width:Number | |
height:Number | |
uv:Array | |
m:Matrix | |
_x:Number | |
_y:Number | |
dx:Number | |
dy:Number | |
round:Boolean (default = false )
|
Boolean |
fillTranglesVB | () | method |
public static function fillTranglesVB(vb:VertexBuffer2D, x:Number, y:Number, points:Array, m:Matrix, _x:Number, _y:Number):Boolean
Parameters
vb:VertexBuffer2D | |
x:Number | |
y:Number | |
points:Array | |
m:Matrix | |
_x:Number | |
_y:Number |
Boolean |
make2DProjection | () | method |
public static function make2DProjection(width:int, height:int, depth:int):*
Parameters
width:int | |
height:int | |
depth:int |
* |
mathCeilPowerOfTwo | () | method |
public static function mathCeilPowerOfTwo(value:int):int
Parameters
value:int |
int |