Blamite Game Engine - blam!  00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
BlamResource Struct Reference

Structure containing data for an engine resource. More...

#include <engine_resources.h>

Public Attributes

BlamResourceType type
 The type of the resource. Used to avoid resource mishandling. More...
 
std::string file_path
 The path to the file this resource was originally loaded from. More...
 
std::string id
 An optional identifier used to retrieve the resource later. More...
 
void * data_address
 The address pointing to the start of the resource data. More...
 
int64_t data_size
 The total size of the resource data. More...
 

Detailed Description

Structure containing data for an engine resource.

Member Data Documentation

◆ data_address

void* BlamResource::data_address

The address pointing to the start of the resource data.

◆ data_size

int64_t BlamResource::data_size

The total size of the resource data.

◆ file_path

std::string BlamResource::file_path

The path to the file this resource was originally loaded from.

◆ id

std::string BlamResource::id

An optional identifier used to retrieve the resource later.

◆ type

BlamResourceType BlamResource::type

The type of the resource. Used to avoid resource mishandling.


The documentation for this struct was generated from the following file: