add overload for defining BufferUsageHint
This commit is contained in:
@@ -141,6 +141,14 @@ Namespace RenderingN
|
||||
''' Creates the Buffers and store the requied Data.
|
||||
''' </summary>
|
||||
Public Sub RenderModel()
|
||||
RenderModel(BufferUsageHint.StaticDraw)
|
||||
End Sub
|
||||
|
||||
''' <summary>
|
||||
''' Creates the Buffers and store the requied Data.
|
||||
''' </summary>
|
||||
''' <param name="bufferUsage">The hint how the graphics card should handle the data.</param>
|
||||
Public Sub RenderModel(bufferUsage As BufferUsageHint)
|
||||
ReleaseBuffers()
|
||||
|
||||
For Each mesh As Mesh In obj3d.Meshes
|
||||
|
||||
Reference in New Issue
Block a user