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

#include <RadientAssets.h>

Public Attributes

Uint32 IndexBufferSize = 4u * 1024u * 1024u
Uint64 MaxIndexBufferSize = 256ull * 1024ull * 1024ull
 Maximum size of each index buffer, in bytes. Zero prevents growth beyond IndexBufferSize.
Uint32 MorphTargetBufferSize = 1024u * 1024u
Uint64 MaxMorphTargetBufferSize = 256ull * 1024ull * 1024ull
 Maximum morph-target buffer size, in bytes. Zero prevents growth beyond MorphTargetBufferSize.
Uint32 VertexPoolSize = 64u * 1024u
Uint32 TextureAtlasSize = 2048
Uint64 TextureAtlasMipLevel0Size = 16ull * 1024ull * 1024ull
Uint32 TextureAtlasSlices = 1
 Initial number of slices in each texture atlas. Zero defers storage allocation.
Uint32 TextureAtlasMaxSlices = 2048
 Maximum number of slices in each texture atlas. Zero selects the engine default.

Detailed Description

GPU resource pool creation attributes used by the engine's asset manager. These settings control resource capacity, not rendering feature availability.

Member Data Documentation

◆ IndexBufferSize

Uint32 Diligent::RadientResourceManagerCreateInfo::IndexBufferSize = 4u * 1024u * 1024u

Initial size and growth increment of each index buffer, in bytes. Zero selects the engine default.

◆ MorphTargetBufferSize

Uint32 Diligent::RadientResourceManagerCreateInfo::MorphTargetBufferSize = 1024u * 1024u

Initial size and growth increment of the morph-target buffer, in bytes. Zero selects the engine default.

◆ TextureAtlasMipLevel0Size

Uint64 Diligent::RadientResourceManagerCreateInfo::TextureAtlasMipLevel0Size = 16ull * 1024ull * 1024ull

Maximum mip-level-0 size of one atlas slice, in bytes. Zero disables this limit. Both dimensions are halved until the slice fits, without reducing either below 16. The minimum dimensions take precedence when the limit is too small.

◆ TextureAtlasSize

Uint32 Diligent::RadientResourceManagerCreateInfo::TextureAtlasSize = 2048

Starting width and height of each default texture atlas, in texels. Zero selects the engine default.

◆ VertexPoolSize

Uint32 Diligent::RadientResourceManagerCreateInfo::VertexPoolSize = 64u * 1024u

Vertex capacity of each new vertex pool. Zero selects the engine default. Rounded up to a multiple of 1024 vertices.