Castor3D 0.16.0
Multiplatform 3D engine
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
castor::ResourceCacheTraitsT< Image, String > Struct Reference

#include <ImageCache.hpp>

Inheritance diagram for castor::ResourceCacheTraitsT< Image, String >:
Inheritance graph
[legend]
Collaboration diagram for castor::ResourceCacheTraitsT< Image, String >:
Collaboration graph
[legend]

Public Types

using KeyT = String
 
using Base = ResourceCacheTraitsBaseT< Image, KeyT, ResourceCacheTraitsT< Image, KeyT > >
 
using ElementT = typename Base::ElementT
 
using ElementPtrT = typename Base::ElementPtrT
 
- Public Types inherited from castor::ResourceCacheTraitsBaseT< Image, String, ResourceCacheTraitsT< Image, String > >
using ElementT
 
using ElementKeyT
 
using ElementPtrT
 
using ElementObsT
 
using ElementContT
 
using ElementCacheT
 
using ElementInitialiserT
 
using ElementCleanerT
 
using ElementMergerT
 

Static Public Member Functions

static CU_API ElementPtrT makeElement (ResourceCacheBaseT< ElementT, KeyT, ResourceCacheTraitsT< ElementT, KeyT > > const &cache, KeyT const &name, ImageCreateParams const &params)
 
static CU_API ElementPtrT makeElement (ResourceCacheBaseT< ElementT, KeyT, ResourceCacheTraitsT< ElementT, KeyT > > const &cache, KeyT const &name, Path const &path, ImageLayout layout, PxBufferBaseUPtr buffer)
 
- Static Public Member Functions inherited from castor::ResourceCacheTraitsBaseT< Image, String, ResourceCacheTraitsT< Image, String > >
static ElementPtrT makeElement (ElementCacheT const &cache, ElementKeyT const &key, ParametersT &&... params)
 
static ElementObsT makeElementObs (ElementPtrT const &element)
 
static bool areElementsEqual (ElementObsT const &lhs, ElementObsT const &rhs)
 
static bool areElementsEqual (ElementObsT const &lhs, ElementPtrT const &rhs)
 
static bool areElementsEqual (ElementPtrT const &lhs, ElementObsT const &rhs)
 
static bool areElementsEqual (ElementPtrT const &lhs, ElementPtrT const &rhs)
 
static bool isElementObsNull (ElementObsT const &element)
 

Static Public Attributes

static CU_API const String Name
 

Detailed Description

Helper structure to specialise a cache behaviour.

Remarks
Specialisation for castor::Image.

Member Typedef Documentation

◆ Base

◆ ElementPtrT

using castor::ResourceCacheTraitsT< Image, String >::ElementPtrT = typename Base::ElementPtrT

◆ ElementT

using castor::ResourceCacheTraitsT< Image, String >::ElementT = typename Base::ElementT

◆ KeyT

Member Function Documentation

◆ makeElement() [1/2]

static CU_API ElementPtrT castor::ResourceCacheTraitsT< Image, String >::makeElement ( ResourceCacheBaseT< ElementT, KeyT, ResourceCacheTraitsT< ElementT, KeyT > > const & cache,
KeyT const & name,
ImageCreateParams const & params )
static

◆ makeElement() [2/2]

static CU_API ElementPtrT castor::ResourceCacheTraitsT< Image, String >::makeElement ( ResourceCacheBaseT< ElementT, KeyT, ResourceCacheTraitsT< ElementT, KeyT > > const & cache,
KeyT const & name,
Path const & path,
ImageLayout layout,
PxBufferBaseUPtr buffer )
static

Member Data Documentation

◆ Name


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