|
API Documentation
|
|
|
114 virtual bool load ()
override ;
void setSourceTexture(nkGraphics::Texture *value)
bool getHablesUsed() const
void setAsReinhard(const nkMaths::Vector &maxWhite=nkMaths::Vector(2.f, 2.f, 2.f))
const nkMaths::Matrix & getAcesLookTransform() const
const nkMaths::Vector & getReinhardMaxWhite() const
A texture used for rendering, hosted on GPU.
Definition: Texture.h:35
EFFECT_TYPE
Lists all effects supported.
Definition: EffectType.h:12
void setUseLuminance(bool value)
virtual void unload() override
The main entry point for nkAstraeus engine.
Definition: System.h:15
Represents a 4x4 float matrix.
Definition: Matrix.h:14
Provides all parameters to tune the Hables curve to tone map an image.
Definition: ToneMappingHablesCurveDescriptor.h:12
virtual bool load() override
void setAsAces(const nkMaths::Matrix &lookTransform=nkMaths::Matrix(1.f, 0.f, 0.f, 0.f, 1.f, 0.f, 0.f, 0.f, 1.f))
bool getReinhardUsed() const
virtual ~ToneMappingEffect()
static nkMemory::UniquePtr< ToneMappingEffect > create(System *system=nullptr)
ToneMappingEffect(System *system) noexcept
Encompasses all API of component NilkinsAstraeus.
Definition: BlurComplexEffect.h:7
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
Base class for all effects in the component.
Definition: Effect.h:16
virtual EFFECT_TYPE getType() const override
nkGraphics::Texture * getSourceTexture() const
A tone mapping effect meant to map linear values to display device colors.
Definition: ToneMappingEffect.h:15
A 4-component vector class, with floats.
Definition: Vector.h:12
const ToneMappingHablesCurveDescriptor & getHablesDescriptor() const
void setAsHables(const ToneMappingHablesCurveDescriptor &descriptor=ToneMappingHablesCurveDescriptor())