 |
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: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic bool PreventZeroBlockIndex { get; set; }Property Value
Boolean
See Also