Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::VertexPoolCreateInfo Struct Reference

Vertex pool create information. More...

#include <VertexPool.h>

Public Attributes

VertexPoolDesc Desc
 Vertex pool description.
 
Uint32 ExtraVertexCount = 0
 Pool expansion size, in vertices.
 
Uint32 MaxVertexCount = 0
 The maximum number of vertices that can be stored in the pool.
 
bool DisableDebugValidation = false
 Whether to disable debug validation of the internal pool structure.
 

Detailed Description

Vertex pool create information.

Member Data Documentation

◆ DisableDebugValidation

bool Diligent::VertexPoolCreateInfo::DisableDebugValidation = false

Whether to disable debug validation of the internal pool structure.

By default, internal pool structure is validated in debug mode after each allocation and deallocation. This may be expensive when the pool contains many allocations. When this flag is set to true, the validation is disabled. The flag is ignored in release builds as the validation is always disabled.

◆ ExtraVertexCount

Uint32 Diligent::VertexPoolCreateInfo::ExtraVertexCount = 0

Pool expansion size, in vertices.

When non-zero, the pool will be expanded by the specified number of vertices every time there is insufficient space. If zero, the pool size will be doubled when more space is needed.

◆ MaxVertexCount

Uint32 Diligent::VertexPoolCreateInfo::MaxVertexCount = 0

The maximum number of vertices that can be stored in the pool.

If zero, the number of vertices is unlimited.