Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
opengl_enums.h File Reference
#include "RenderCore/ghi_enums.h"
#include "ThirdParty/glad2.h"
#include <Common/primitive_type.h>

Go to the source code of this file.

Namespaces

namespace  ph
 
namespace  ph::editor
 
namespace  ph::editor::ghi
 
namespace  ph::editor::ghi::opengl
 

Functions

GLenum ph::editor::ghi::opengl::to_internal_format (ESizedPixelFormat sizedFormat)
 
GLenum ph::editor::ghi::opengl::to_internal_format (EPixelFormat unsizedFormat)
 
GLenum ph::editor::ghi::opengl::to_color_attachment (uint32 slotIndex)
 
GLenum ph::editor::ghi::opengl::to_data_type (EPixelComponent componentType)
 
GLenum ph::editor::ghi::opengl::to_data_type (EStorageElement elementType)
 
GLenum ph::editor::ghi::opengl::to_primitive_type (EMeshDrawMode drawMode)
 
GLenum ph::editor::ghi::opengl::to_shader_type (EShadingStage shadingStage)
 
GLenum ph::editor::ghi::opengl::to_filter_type (EFilterMode filterMode)
 
GLenum ph::editor::ghi::opengl::to_wrap_type (EWrapMode wrapMode)
 
GLenum ph::editor::ghi::opengl::to_base_format (GLenum internalFormat)
 
uint32 ph::editor::ghi::opengl::num_pixel_components (GLenum internalFormat)
 
bool ph::editor::ghi::opengl::is_color_format (GLenum internalFormat)