Plasma Engine  2.0
Loading...
Searching...
No Matches
plAdobeCUBEReader Class Reference

Simple implementation to read Adobe CUBE LUT files. More...

#include <AdobeCUBEReader.h>

Public Member Functions

plStatus ParseFile (plStreamReader &inout_stream, plLogInterface *pLog=nullptr)
 
plVec3 GetDomainMin () const
 
plVec3 GetDomainMax () const
 
plUInt32 GetLUTSize () const
 
const plStringGetTitle () const
 
plVec3 GetLUTEntry (plUInt32 r, plUInt32 g, plUInt32 b) const
 

Protected Member Functions

plUInt32 GetLUTIndex (plUInt32 r, plUInt32 g, plUInt32 b) const
 

Protected Attributes

plUInt32 m_uiLUTSize = 0
 
plString m_sTitle = "<UNTITLED>"
 
plVec3 m_vDomainMin = plVec3::MakeZero()
 
plVec3 m_vDomainMax = plVec3(1.0f)
 
plDynamicArray< plVec3m_LUTValues
 

Detailed Description

Simple implementation to read Adobe CUBE LUT files.

Currently only reads 3D LUTs as this is the data we need for our lookup textures in the tone mapping step.


The documentation for this class was generated from the following files: