Packagecom.yogurt3d.presets.renderers.helper
Classpublic class Yogurt3DRendererHelper
InheritanceYogurt3DRendererHelper Inheritance Object
Implements IRendererHelper



Protected Properties
 PropertyDefined By
  registeredTextures : Vector.<uint>
Yogurt3DRendererHelper
Public Methods
 MethodDefined By
  
Yogurt3DRendererHelper
  
beginScene(_camera:Camera = null):void
Yogurt3DRendererHelper
  
clearTextures(_context3d:Context3D):void
Cleans the texture streams currently used.
Yogurt3DRendererHelper
  
endScene():void
Cleans the cached data.This function must be called on every frame.
Yogurt3DRendererHelper
  
setProgramConstants(_context3d:Context3D, _params:ShaderParameters, _light:Light = null, _camera:Camera = null, _object:SceneObjectRenderable = null, _subMesh:SubMesh = null):Boolean
Uploads the shader constants; both the vertex and fragment.
Yogurt3DRendererHelper
Property Detail
registeredTexturesproperty
protected var registeredTextures:Vector.<uint>

Constructor Detail
Yogurt3DRendererHelper()Constructor
public function Yogurt3DRendererHelper()



Method Detail
beginScene()method
public function beginScene(_camera:Camera = null):void

Parameters

_camera:Camera (default = null)

clearTextures()method 
public function clearTextures(_context3d:Context3D):void

Cleans the texture streams currently used.

Parameters

_context3d:Context3D

endScene()method 
public function endScene():void

Cleans the cached data.This function must be called on every frame.

setProgramConstants()method 
public function setProgramConstants(_context3d:Context3D, _params:ShaderParameters, _light:Light = null, _camera:Camera = null, _object:SceneObjectRenderable = null, _subMesh:SubMesh = null):Boolean

Uploads the shader constants; both the vertex and fragment.

Parameters

_context3d:Context3D
 
_params:ShaderParameters
 
_light:Light (default = null)
 
_camera:Camera (default = null)
 
_object:SceneObjectRenderable (default = null)
 
_subMesh:SubMesh (default = null)

Returns
Boolean