Obi  6.4
Unified particle physics for Unity
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Obi.ObiBaseFluidRenderer Class Referenceabstract
Inheritance diagram for Obi.ObiBaseFluidRenderer:
Obi.ObiFluidRenderer

Public Member Functions

void OnEnable ()
 
void OnDisable ()
 
abstract void UpdateFluidRenderingCommandBuffer ()
 

Public Attributes

ObiParticleRenderer[] particleRenderers
 

Protected Member Functions

Material CreateMaterial (Shader shader)
 
virtual void Setup ()
 
virtual void Cleanup ()
 

Protected Attributes

CommandBuffer renderFluid
 
Camera currentCam
 

Member Function Documentation

abstract void Obi.ObiBaseFluidRenderer.UpdateFluidRenderingCommandBuffer ( )
pure virtual

Re-generates the CommandBuffer used for fluid rendering. Call it whenever a new ParticleRenderer is added, removed or modified.

Implemented in Obi.ObiFluidRenderer.


The documentation for this class was generated from the following file: