Package | laya.d3.core.render |
Interface | public interface IRenderable |
Implementors | ShurikenParticleSystem, StaticBatch, SubMesh, TerrainFilter |
IRender
接口用于实现3D对象的渲染相关功能。
Property | Defined By | ||
---|---|---|---|
triangleCount : int [read-only] | IRenderable | ||
_vertexBufferCount : int [read-only] | IRenderable |
Method | Defined By | ||
---|---|---|---|
_beforeRender(state:RenderState):Boolean | IRenderable | ||
IRenderable | |||
_getVertexBuffer(index:int = 0):VertexBuffer3D | IRenderable | ||
_render(state:RenderState):void | IRenderable | ||
_renderRuntime(conchGraphics3D:*, renderElement:RenderElement, state:RenderState):void | IRenderable |
_vertexBufferCount | property |
_vertexBufferCount:int
[read-only] public function get _vertexBufferCount():int
triangleCount | property |
triangleCount:int
[read-only] public function get triangleCount():int
_beforeRender | () | method |
_getIndexBuffer | () | method |
_getVertexBuffer | () | method |
public function _getVertexBuffer(index:int = 0):VertexBuffer3D
Parameters
index:int (default = 0 )
|
VertexBuffer3D |
_render | () | method |
_renderRuntime | () | method |
public function _renderRuntime(conchGraphics3D:*, renderElement:RenderElement, state:RenderState):void
Parameters
conchGraphics3D:* | |
renderElement:RenderElement | |
state:RenderState |