Obi  7.0.5
Unified particle physics for Unity
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Obi.ObiFoamRenderSystem Class Reference
Inheritance diagram for Obi.ObiFoamRenderSystem:
Obi.RenderSystem< T > Obi.IRenderSystem Obi.ComputeFoamRenderSystem

Public Member Functions

 ObiFoamRenderSystem (ObiSolver solver)
 
virtual void Dispose ()
 
void RenderFromCamera (Camera camera)
 
virtual void Setup ()
 
virtual void Step ()
 
virtual void Render ()
 
- Public Member Functions inherited from Obi.RenderSystem< T >
Type IRenderSystem. GetRendererType ()
 
virtual bool AddRenderer (T renderer)
 
virtual bool RemoveRenderer (T renderer)
 

Public Attributes

bool isSetup => true
 
ProceduralRenderBatch
< DiffuseParticleVertex
renderBatch
 

Protected Attributes

VertexAttributeDescriptor[] layout
 
HashSet< Camera > cameras = new HashSet<Camera>()
 
MaterialPropertyBlock matProps
 
ObiSolver m_Solver
 

Static Protected Attributes

static ProfilerMarker m_SetupRenderMarker = new ProfilerMarker("SetupSurfaceMeshing")
 
static ProfilerMarker m_RenderMarker = new ProfilerMarker("SurfaceMeshing")
 

Properties

Oni.RenderingSystemType typeEnum [get]
 
RendererSet< ObiFoamGeneratorrenderers [get]
 
uint tier [get]
 
- Properties inherited from Obi.RenderSystem< T >
RendererSet< T > renderers [get]
 
bool IRenderSystem. isEmpty [get]
 
- Properties inherited from Obi.IRenderSystem
uint tier [get]
 
Oni.RenderingSystemType typeEnum [get]
 
bool isEmpty [get]
 

Member Data Documentation

VertexAttributeDescriptor [] Obi.ObiFoamRenderSystem.layout
protected
Initial value:
=
{
new VertexAttributeDescriptor(VertexAttribute.Position, VertexAttributeFormat.Float32, 4),
new VertexAttributeDescriptor(VertexAttribute.Normal, VertexAttributeFormat.Float32, 3),
new VertexAttributeDescriptor(VertexAttribute.Color, VertexAttributeFormat.Float32, 4),
new VertexAttributeDescriptor(VertexAttribute.TexCoord0, VertexAttributeFormat.Float32, 4),
new VertexAttributeDescriptor(VertexAttribute.TexCoord1, VertexAttributeFormat.Float32, 4),
}

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