Cogs.Core
GliTextureLoader.h
1#pragma once
2
3#include "Resources/ITextureLoader.h"
4
5namespace Cogs
6{
7 namespace Core
8 {
10 {
11 bool canLoad(Context * context, const TextureLoadInfo & loadInfo) override;
12 bool load(Context * context, const TextureLoadInfo & loadInfo) override;
13 bool load(Context* context, const TextureLoadInfo& loadInfo, const void* dataPtr, size_t dataSize) override;
14 };
15 }
16}
A Context instance contains all the services, systems and runtime components needed to use Cogs.
Definition: Context.h:83
Contains all Cogs related functionality.
Definition: FieldSetter.h:23