Struct AssetCounts
Snapshot of how many assets are currently registered in each category. Returned by GetAssetCounts() for diagnostic use.
Inherited Members
Namespace: PopcorningGuineaPig.Engine.Services
Assembly: PopcorningGuineaPig.Engine.dll
Syntax
public readonly struct AssetCounts
Constructors
| Edit this page View SourceAssetCounts(int, int, int, int, int)
Initializes a new AssetCounts snapshot.
Declaration
public AssetCounts(int textureCount, int soundCount, int fontCount, int modelCount, int shaderCount)
Parameters
| Type | Name | Description |
|---|---|---|
| int | textureCount | |
| int | soundCount | |
| int | fontCount | |
| int | modelCount | |
| int | shaderCount |
Properties
| Edit this page View SourceFontCount
Number of registered fonts.
Declaration
public int FontCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
ModelCount
Number of registered animated/static models.
Declaration
public int ModelCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
ShaderCount
Number of registered shaders.
Declaration
public int ShaderCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
SoundCount
Number of registered sounds.
Declaration
public int SoundCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
TextureCount
Number of registered textures.
Declaration
public int TextureCount { get; }
Property Value
| Type | Description |
|---|---|
| int |