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