Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ghi_enums.h File Reference
#include "RenderCore/EGraphicsAPI.h"
#include "RenderCore/EClearTarget.h"
#include <Frame/picture_basics.h>
#include <Utility/traits.h>
#include <cstddef>
#include "RenderCore/ghi_enums.ipp"

Go to the source code of this file.

Namespaces

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

Enumerations

enum class  ph::editor::ghi::ESizedPixelFormat : uint8 {
  ph::editor::ghi::Empty = 0 , ph::editor::ghi::RGB_8 , ph::editor::ghi::RGBA_8 , ph::editor::ghi::RGB_16F ,
  ph::editor::ghi::RGBA_16F , ph::editor::ghi::RGB_32F , ph::editor::ghi::RGBA_32F , ph::editor::ghi::Depth_24_Stencil_8
}
 Combined pixel layout and component type information. Unless stated explicitly, the characters RGB does not mean the pixel is in RGB color space. It simply represents pixel components, using R, G, B as placeholders. More...
 
enum class  ph::editor::ghi::EPixelFormat : uint8 {
  ph::editor::ghi::Empty = 0 , ph::editor::ghi::R , ph::editor::ghi::RG , ph::editor::ghi::RGB ,
  ph::editor::ghi::RGBA , ph::editor::ghi::Depth , ph::editor::ghi::Stencil
}
 
enum class  ph::editor::ghi::EPixelComponent : uint8 {
  ph::editor::ghi::Empty = 0 , ph::editor::ghi::Int8 , ph::editor::ghi::UInt8 , ph::editor::ghi::Int16 ,
  ph::editor::ghi::UInt16 , ph::editor::ghi::Int32 , ph::editor::ghi::UInt32 , ph::editor::ghi::Int64 ,
  ph::editor::ghi::UInt64 , ph::editor::ghi::Float16 , ph::editor::ghi::Float32 , ph::editor::ghi::Float64
}
 
enum class  ph::editor::ghi::EFilterMode : uint8 { ph::editor::ghi::Point , ph::editor::ghi::Linear }
 
enum class  ph::editor::ghi::EWrapMode : uint8 { ph::editor::ghi::ClampToEdge , ph::editor::ghi::Repeat }
 
enum class  ph::editor::ghi::EStorageElement : uint8 {
  ph::editor::ghi::Empty = 0 , ph::editor::ghi::Int8 , ph::editor::ghi::UInt8 , ph::editor::ghi::Int16 ,
  ph::editor::ghi::UInt16 , ph::editor::ghi::Int32 , ph::editor::ghi::UInt32 , ph::editor::ghi::Int64 ,
  ph::editor::ghi::UInt64 , ph::editor::ghi::Float16 , ph::editor::ghi::Float32 , ph::editor::ghi::Float64
}
 
enum class  ph::editor::ghi::EStorageUsage : uint8 { ph::editor::ghi::Unspecified = 0 , ph::editor::ghi::Static , ph::editor::ghi::Dynamic }
 
enum class  ph::editor::ghi::EMeshDrawMode : uint8 {
  ph::editor::ghi::Points , ph::editor::ghi::LineSegments , ph::editor::ghi::LineCurveOpened , ph::editor::ghi::LineCurveClosed ,
  ph::editor::ghi::TriangleStrip , ph::editor::ghi::TriangleFan , ph::editor::ghi::Triangles
}
 
enum class  ph::editor::ghi::EShadingStage : uint8 { ph::editor::ghi::Unspecified = 0 , ph::editor::ghi::Vertex , ph::editor::ghi::Fragment , ph::editor::ghi::Compute }
 

Functions

std::size_t ph::editor::ghi::num_bytes (ESizedPixelFormat sizedFormat)
 
std::size_t ph::editor::ghi::num_bytes (EPixelComponent component)
 
std::size_t ph::editor::ghi::num_bytes (EStorageElement element)
 
template<CEnum DstEnumType>
DstEnumType ph::editor::ghi::translate_to (EPicturePixelComponent pictureComponent)