RenderContextBase.CompileVBO Method

Compiles the Entity using Vertex Buffer Objects if possible.
Public Overridable Sub CompileVBO( _ 
ByVal data As EntityGraphicsData, _ 
ByVal drawEntityCallBack As DrawEntityCallBack, _ 
ByVal vboParams As Object, _ 
Optional ByVal dynamic As Boolean = false _ 
)
This language is not supported or no code example is available.
public virtual void CompileVBO( 
EntityGraphicsData data
DrawEntityCallBack drawEntityCallBack
object vboParams
bool dynamic = false 
)
This language is not supported or no code example is available.

Parameters

data
EntityGraphicsData

The entity graphics data

drawEntityCallBack
DrawEntityCallBack

The draw function (used only if VBO are not supported)

vboParams
object

The parameters (of type VBOParams)

dynamic
bool

If true the buffer is created dynamic, so it can be updated later on.

.NET Framework

Supported in: 4.8

In this article

Definition