Support Forum       G3D Web Page     
Public Member Functions | Static Public Member Functions | Friends | List of all members
G3D::GLSamplerObject Class Reference


A class holding all of the parameters one would want to use to when accessing a Texture, and an associated OpenGL Sampler Object More...

Public Member Functions

 ~GLSamplerObject ()
 
unsigned int openGLID () const
 
const Samplersampler () const
 

Static Public Member Functions

static void clearCache ()
 
static shared_ptr< GLSamplerObjectcreate (const Sampler &s)
 

Friends

class Shader
 

Detailed Description


A class holding all of the parameters one would want to use to when accessing a Texture, and an associated OpenGL Sampler Object

Abstraction of OpenGL Sampler Objects. This class can be used with raw OpenGL, without RenderDevice.

See also
Texture

Constructor & Destructor Documentation

◆ ~GLSamplerObject()

G3D::GLSamplerObject::~GLSamplerObject ( )

Member Function Documentation

◆ clearCache()

static void G3D::GLSamplerObject::clearCache ( )
static

◆ create()

static shared_ptr<GLSamplerObject> G3D::GLSamplerObject::create ( const Sampler s)
static

◆ openGLID()

unsigned int G3D::GLSamplerObject::openGLID ( ) const
inline

◆ sampler()

const Sampler& G3D::GLSamplerObject::sampler ( ) const
inline

Friends And Related Function Documentation

◆ Shader

friend class Shader
friend

documentation generated on Wed Nov 24 2021 08:01:56 using doxygen 1.8.15