|
GpuDynamicMemoryBlockPoolTPreventZeroBlockIndex Property |
When false (by default) then first block index starts with 0.
If true then the first block index starts with 1 (this is used for StandardEffect where material index that is sent to shader can be negative to invert normal; because of this material index must not be zero).
This property must be set before calling
GetNextFreeIndex.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public bool PreventZeroBlockIndex { get; set; }
Property Value
BooleanSee Also