CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
OpenGL.hpp File Reference

Go to the source code of this file.

Classes

class  CeresEngine::GLObject< ChildTypeName, ParentType >
 
class  CeresEngine::GLObject< ChildTypeName, void >
 
class  CeresEngine::GLDeviceObject< ChildTypeName, ParentType >
 
struct  CeresEngine::GLObjectHandle< Alloc, Dealloc, BatchAlloc, BatchDealloc >
 

Namespaces

namespace  CeresEngine
 

Macros

#define CE_GL_SAFE_CAST
 
#define CE_GL_RENDER_API_OBJECT_FORWARD(N)
 

Typedefs

using CeresEngine::GLBufferPtr = RC< GLBuffer >
 
using CeresEngine::GLCommandBufferPtr = RC< GLCommandBuffer >
 
using CeresEngine::GLCommandQueuePtr = RC< GLCommandQueue >
 
using CeresEngine::GLComputePipelinePtr = RC< GLComputePipeline >
 
using CeresEngine::GLDevicePtr = RC< GLDevice >
 
using CeresEngine::GLFencePtr = RC< GLFence >
 
using CeresEngine::GLGraphicsPipelinePtr = RC< GLGraphicsPipeline >
 
using CeresEngine::GLImagePtr = RC< GLImage >
 
using CeresEngine::GLImageViewPtr = RC< GLImageView >
 
using CeresEngine::GLPipelineLayoutPtr = RC< GLPipelineLayout >
 
using CeresEngine::GLRenderPassPtr = RC< GLRenderPass >
 
using CeresEngine::GLRenderTargetPtr = RC< GLRenderTarget >
 
using CeresEngine::GLResourceSetPtr = RC< GLResourceSet >
 
using CeresEngine::GLSamplerPtr = RC< GLSampler >
 
using CeresEngine::GLShaderPtr = RC< GLShader >
 
using CeresEngine::GLShaderProgramPtr = RC< GLShaderProgram >
 
using CeresEngine::GLSwapchainPtr = RC< GLSwapchain >
 
using CeresEngine::GLTimerQueryPtr = RC< GLTimerQuery >
 
using CeresEngine::GLOcclusionQueryPtr = RC< GLOcclusionQuery >
 

Functions

void CeresEngine::GLThrowIfFailed (const char *info)
 
void CeresEngine::GLNotImplemented ()
 
bool CeresEngine::GLHasExtension (GLuint extension)
 
GLenum CeresEngine::GLMap (ShaderType shaderType)
 
GLenum CeresEngine::GLMap (Format format)
 
GLenum CeresEngine::GLMapOrZero (Format format)
 
GLenum CeresEngine::GLMap (DataType dataType)
 
GLenum CeresEngine::GLMap (VertexElementComponentType componentType)
 
GLenum CeresEngine::GLMap (GPUImageType ImageType)
 
GLenum CeresEngine::GLMap (GPUBufferType bufferType)
 
GLenum CeresEngine::GLMap (PrimitiveTopology primitiveTopology)
 
GLenum CeresEngine::GLMap (GPUPolygonMode polygonMode)
 
GLenum CeresEngine::GLMap (GPUCullMode cullMode)
 
GLenum CeresEngine::GLMap (GPUCompareOp compareOp)
 
GLenum CeresEngine::GLMap (GPUStencilOp stencilOp)
 
GLenum CeresEngine::GLMap (GPULogicOp logicOp)
 
GLenum CeresEngine::GLMap (GPUBlendOp blendOp)
 
GLenum CeresEngine::GLMap (GPUBlendArithmetic blendArithmetic)
 
GLenum CeresEngine::GLMap (GPUSamplerAddressMode addressMode)
 
GLenum CeresEngine::GLMap (GPUSamplerFilter imageFilter)
 
GLenum CeresEngine::GLMap (GPUSamplerFilter imageMinFilter, GPUSamplerFilter imageMipMapFilter)
 
GLenum CeresEngine::GLMap (IndexType indexType)
 
GLenum CeresEngine::GLMapInternalFormat (Format format)
 
GLenum CeresEngine::toImageCubeMap (UInt32 arrayLayer) noexcept
 Returns an enum in [GL_TEXTURE_CUBE_MAP_POSITIVE_X, ..., GL_TEXTURE_CUBE_MAP_NEGATIVE_Z] for (arrayLayer % 6).
 
GLenum CeresEngine::toColorAttachment (UInt32 attachmentIndex) noexcept
 Returns an enum in [GL_COLOR_ATTACHMENT0, ..., GL_COLOR_ATTACHMENT7].
 
constexpr GLboolean CeresEngine::GLBoolean (const bool value) noexcept
 

Macro Definition Documentation

◆ CE_GL_RENDER_API_OBJECT_FORWARD

#define CE_GL_RENDER_API_OBJECT_FORWARD (   N)
Value:
class GL##N; \
using GL##N##Ptr = RC<GL##N>;

◆ CE_GL_SAFE_CAST

#define CE_GL_SAFE_CAST