Packagelaya.d3.core.render
Interfacepublic interface IRenderable
Implementors ShurikenParticleSystem, StaticBatch, SubMesh, TerrainFilter

IRender 接口用于实现3D对象的渲染相关功能。



Public Properties
 PropertyDefined By
  triangleCount : int
[read-only]
IRenderable
  _vertexBufferCount : int
[read-only]
IRenderable
Public Methods
 MethodDefined By
  
_beforeRender(state:RenderState):Boolean
IRenderable
  
IRenderable
  
IRenderable
  
_render(state:RenderState):void
IRenderable
  
_renderRuntime(conchGraphics3D:*, renderElement:RenderElement, state:RenderState):void
IRenderable
Property Detail
_vertexBufferCountproperty
_vertexBufferCount:int  [read-only]


Implementation
    public function get _vertexBufferCount():int
triangleCountproperty 
triangleCount:int  [read-only]


Implementation
    public function get triangleCount():int
Method Detail
_beforeRender()method
public function _beforeRender(state:RenderState):Boolean

Parameters

state:RenderState

Returns
Boolean
_getIndexBuffer()method 
public function _getIndexBuffer():IndexBuffer3D

Returns
IndexBuffer3D
_getVertexBuffer()method 
public function _getVertexBuffer(index:int = 0):VertexBuffer3D

Parameters

index:int (default = 0)

Returns
VertexBuffer3D
_render()method 
public function _render(state:RenderState):void

Parameters

state:RenderState

_renderRuntime()method 
public function _renderRuntime(conchGraphics3D:*, renderElement:RenderElement, state:RenderState):void

Parameters

conchGraphics3D:*
 
renderElement:RenderElement
 
state:RenderState