Visit Gigasoft's Web Site
 ProEssentials v10 Help

StagingBufferZ

Scope

Pesgo, Pe3do

Type

Boolean/Int32

Default

FALSE

.NET

PeData.StagingBufferZ

Ocx|Vcl

StagingBufferZ

DLL

PEP_bSTAGINGBUFFERZ

 

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 ZData as part of a real-time updating scenario/implementation. 

 

Setting

Description

TRUE

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

FALSE

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

 

Comments

The ReuseDataZ property will tell ProEssentials that any buffers related to ZData are not changing.

 

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

 

PeData.StagingBufferZ members of Pesgo.PeData, Pe3do.PeData