OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
TextureRenderId Class Reference

#include <TextureRenderId.h>

Public Member Functions

 TextureRenderId ()=default
 
 TextureRenderId (intptr_t id)
 
intptr_t value () const
 
bool isValid () const
 
 operator bool () const
 

Private Attributes

intptr_t _value = -1
 

Detailed Description

Texture id, as used by Renderer API.

We only have an OpenGL implementation right now, so this is essentially a wrapper atop a GLuint that removes all the integer operations.

Constructor & Destructor Documentation

◆ TextureRenderId() [1/2]

TextureRenderId::TextureRenderId ( )
default

◆ TextureRenderId() [2/2]

TextureRenderId::TextureRenderId ( intptr_t  id)
inlineexplicit

Member Function Documentation

◆ isValid()

bool TextureRenderId::isValid ( ) const
inline

◆ operator bool()

TextureRenderId::operator bool ( ) const
inlineexplicit

◆ value()

intptr_t TextureRenderId::value ( ) const
inline

Member Data Documentation

◆ _value

intptr_t TextureRenderId::_value = -1
private

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