SDL3pp
A slim C++ wrapper for SDL3
Loading...
Searching...
No Matches
SDL::ResourceRefT< BASE > Struct Template Reference

A non-owning reference wrapper for a given resource. More...

Inheritance diagram for SDL::ResourceRefT< BASE >:
[legend]

Public Types

using RawPointer = BASE::RawPointer
 The underlying raw pointer type.
using RawConstPointer = BASE::RawConstPointer
 The underlying const raw pointer type.

Public Member Functions

constexpr ResourceRefT (const BASE &resource) noexcept
 Constructs from resource.
constexpr operator RawPointer () const noexcept
 Converts to raw pointer.

Detailed Description

template<typename BASE>
struct SDL::ResourceRefT< BASE >

A non-owning reference wrapper for a given resource.


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