Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
glResources.h File Reference
#include <glbinding/gl46core/gl.h>
#include "glResources.inl"

Go to the source code of this file.

Classes

struct  Divide::BufferLockEntry
 
struct  Divide::ImageBindSettings
 
class  Divide::VAOBindings
 
struct  Divide::VAOBindings::BufferBindingParams
 
class  Divide::GLUtil::glTextureViewCache
 
struct  Divide::GLUtil::glTextureViewCache::CacheEntry
 
struct  Divide::GLUtil::FormatAndDataType
 

Namespaces

namespace  NS_GLIM
 
namespace  Divide
 Handle console commands that start with a forward slash.
 
namespace  Divide::GLUtil
 

Macros

#define DVD_GL_RESOURCES_H_
 

Typedefs

typedef void * SDL_GLContext
 

Functions

template<typename T = gl46core::GLint>
void Divide::GLUtil::getGLValue (gl46core::GLenum param, T &value, gl46core::GLint index=-1)
 Wrapper for glGetIntegerv.
 
template<typename T = gl46core::GLint>
void Divide::GLUtil::getGLValue (gl46core::GLenum param, T *value)
 
template<typename T = gl46core::GLint>
Divide::GLUtil::getGLValue (gl46core::GLenum param)
 
template<typename T = gl46core::GLint>
Divide::GLUtil::getGLValueIndexed (gl46core::GLenum param, gl46core::GLint index=-1)
 
void Divide::GLUtil::DebugCallback (const gl46core::GLenum source, const gl46core::GLenum type, const gl46core::GLuint id, const gl46core::GLenum severity, const gl46core::GLsizei length, const gl46core::GLchar *message, const void *userParam)
 Print OpenGL specific messages.
 
bool Divide::GLUtil::ValidateSDL (const I32 errCode, bool assert)
 
void Divide::GLUtil::SubmitRenderCommand (const GenericDrawCommand &drawCommand, gl46core::GLenum internalFormat)
 Note: If internal format is not GL_NONE, an indexed draw is issued!
 
void Divide::GLUtil::OnStartup ()
 Populate enumeration tables with appropriate API values.
 
FormatAndDataType Divide::GLUtil::InternalFormatAndDataType (const GFXImageFormat baseFormat, const GFXDataFormat dataType, const GFXImagePacking packing) noexcept
 
gl46core::GLenum Divide::GLUtil::internalTextureType (const TextureType type, const U8 msaaSamples)
 

Variables

constexpr gl46core::GLuint Divide::GL_NULL_HANDLE = gl46core::GL_INVALID_INDEX
 Invalid object value. Used to compare handles and determine if they were properly created.
 

Macro Definition Documentation

◆ DVD_GL_RESOURCES_H_

#define DVD_GL_RESOURCES_H_

Definition at line 34 of file glResources.h.

Typedef Documentation

◆ SDL_GLContext

typedef void* SDL_GLContext

Definition at line 39 of file glResources.h.