Package | laya.webgl.utils |
Class | public class Buffer |
Inheritance | Buffer laya.resource.Resource |
Subclasses | Buffer2D, IndexBuffer3D, VertexBuffer3D |
Property | Defined By | ||
---|---|---|---|
_bindActive : Object [static] | Buffer | ||
_bindVertexBuffer : * [static] | Buffer | ||
bufferUsage : int [read-only] | Buffer | ||
_byteLength : int = 0 | Buffer | ||
_enableAtributes : Array [static] | Buffer |
Property | Defined By | ||
---|---|---|---|
_buffer : * | Buffer | ||
_bufferType : int | Buffer | ||
_bufferUsage : int | Buffer | ||
_gl : WebGLContext [static] | Buffer | ||
_glBuffer : * | Buffer |
Method | Defined By | ||
---|---|---|---|
detoryResource():void [override] | Buffer | ||
recreateResource():void [override] | Buffer |
_bindActive | property |
public static var _bindActive:Object
_bindVertexBuffer | property |
public static var _bindVertexBuffer:*
_buffer | property |
protected var _buffer:*
_bufferType | property |
protected var _bufferType:int
_bufferUsage | property |
protected var _bufferUsage:int
_byteLength | property |
public var _byteLength:int = 0
_enableAtributes | property |
public static var _enableAtributes:Array
_gl | property |
protected static var _gl:WebGLContext
_glBuffer | property |
protected var _glBuffer:*
bufferUsage | property |
bufferUsage:int
[read-only] public function get bufferUsage():int
Buffer | () | Constructor |
public function Buffer()
_bind | () | method |
public function _bind():void
detoryResource | () | method |
override protected function detoryResource():void
recreateResource | () | method |
override protected function recreateResource():void