Visit Gigasoft's Web Site
 ProEssentials v10 Help

StagingBufferX

Scope

Pesgo, Pe3do

Type

Boolean/Int32

Default

FALSE

.NET

PeData.StagingBufferX

Ocx|Vcl

StagingBufferX

DLL

PEP_bSTAGINGBUFFERX

 

Purpose

Used with RenderEngine = Direct3D to enable an efficient pipeline for updating data from the cpu-side to gpu-side. 

 

Set True if repeatedly changing XData as part of a real-time updating scenario/implementation. 

 

Setting

Description

TRUE

Enable staging buffer logic for XData.  Will use additional video/system memory. 

FALSE

Direct3D buffers are possibly recreated per update and data will not transfer as fast.

 

Comments

The ReuseDataX property will tell ProEssentials that any buffers related to XData are not changing.

 

Examples 410, 145, 148 and 413 implement StagingBuffers, ComputeShaderCircularBuffers, and ReuseDataX providing your best information for studying this use-case. 

 

PeData.StagingBufferX members of Pesgo.PeData, Pe3do.PeData