 |
DynamicMemoryBlockTPreventZeroBlockIndex 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: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic bool PreventZeroBlockIndex { get; set; }
Property Value
Boolean[Missing <value> documentation for "P:Ab4d.SharpEngine.Utilities.DynamicMemoryBlock`1.PreventZeroBlockIndex"]
Remarks[Missing <remarks> documentation for "P:Ab4d.SharpEngine.Utilities.DynamicMemoryBlock`1.PreventZeroBlockIndex"]
See Also