#include <PreRenderBatch.h>
|
| PreRenderBatch (GFXDevice &context, PostFX &parent) |
|
| ~PreRenderBatch () |
|
PostFX & | parent () const noexcept |
|
void | update (U64 deltaTimeUS) noexcept |
|
void | prePass (PlayerIndex idx, const CameraSnapshot &cameraSnapshot, U32 filterStack, GFX::CommandBuffer &bufferInOut) |
|
void | execute (PlayerIndex idx, const CameraSnapshot &cameraSnapshot, U32 filterStack, GFX::CommandBuffer &bufferInOut) |
|
void | reshape (U16 width, U16 height) |
|
void | onFilterToggle (FilterType filter, bool state) |
|
RenderTargetHandle | getInput (bool hdr) const |
|
RenderTargetHandle | getOutput (bool hdr) const |
|
RenderTargetHandle | screenRT () const noexcept |
|
RenderTargetHandle | edgesRT () const noexcept |
|
Handle< Texture > | luminanceTex () const noexcept |
|
PreRenderOperator * | getOperator (FilterType type) const |
|
void | toneMapParams (ToneMapParams params) noexcept |
|
void | adaptiveExposureControl (bool state) noexcept |
|
F32 | adaptiveExposureValue () const noexcept |
|
RenderTargetHandle | getLinearDepthRT () const noexcept |
|
| PROPERTY_R (bool, adaptiveExposureControl, true) |
|
| PROPERTY_R (ToneMapParams, toneMapParams) |
|
| PROPERTY_RW (F32, edgeDetectionThreshold, 0.1f) |
|
| PROPERTY_RW (EdgeDetectionMethod, edgeDetectionMethod, EdgeDetectionMethod::Luma) |
|
| PROPERTY_R (SamplerDescriptor, lumaSampler) |
|
Definition at line 83 of file PreRenderBatch.h.
◆ OperatorBatch
◆ EdgeDetectionMethod
◆ PreRenderBatch()
Divide::PreRenderBatch::PreRenderBatch |
( |
GFXDevice & |
context, |
|
|
PostFX & |
parent |
|
) |
| |
◆ ~PreRenderBatch()
Divide::PreRenderBatch::~PreRenderBatch |
( |
| ) |
|
◆ adaptiveExposureControl()
void Divide::PreRenderBatch::adaptiveExposureControl |
( |
bool |
state | ) |
|
|
noexcept |
◆ adaptiveExposureValue()
F32 Divide::PreRenderBatch::adaptiveExposureValue |
( |
| ) |
const |
|
noexcept |
◆ edgesRT()
◆ execute()
◆ getInput()
◆ getLinearDepthRT()
◆ getOperator()
◆ GetOperatorSpace()
|
inlinestaticprivatenoexcept |
◆ getOutput()
◆ getTarget()
◆ luminanceTex()
◆ onFilterToggle()
void Divide::PreRenderBatch::onFilterToggle |
( |
FilterType |
filter, |
|
|
bool |
state |
|
) |
| |
◆ operatorsReady()
bool Divide::PreRenderBatch::operatorsReady |
( |
| ) |
const |
|
privatenoexcept |
◆ parent()
PostFX & Divide::PreRenderBatch::parent |
( |
| ) |
const |
|
inlinenoexcept |
◆ prePass()
◆ PROPERTY_R() [1/3]
◆ PROPERTY_R() [2/3]
◆ PROPERTY_R() [3/3]
◆ PROPERTY_RW() [1/2]
◆ PROPERTY_RW() [2/2]
Divide::PreRenderBatch::PROPERTY_RW |
( |
F32 |
, |
|
|
edgeDetectionThreshold |
, |
|
|
0. |
1f |
|
) |
| |
◆ reshape()
void Divide::PreRenderBatch::reshape |
( |
U16 |
width, |
|
|
U16 |
height |
|
) |
| |
◆ screenRT()
◆ toneMapParams()
void Divide::PreRenderBatch::toneMapParams |
( |
ToneMapParams |
params | ) |
|
|
noexcept |
◆ update()
void Divide::PreRenderBatch::update |
( |
U64 |
deltaTimeUS | ) |
|
|
noexcept |
◆ _adaptiveExposureValue
F32 Divide::PreRenderBatch::_adaptiveExposureValue {1.f} |
|
private |
◆ _adaptiveExposureValueNeedsUpdate
bool Divide::PreRenderBatch::_adaptiveExposureValueNeedsUpdate {false} |
|
mutableprivate |
◆ _averageHistogram
◆ _context
◆ _createHistogram
◆ _currentLuminance
◆ _edgeDetection
◆ _edgeDetectionPipelines
◆ _histogramBuffer
ShaderBuffer_uptr Divide::PreRenderBatch::_histogramBuffer { nullptr } |
|
private |
◆ _lastDeltaTimeUS
U64 Divide::PreRenderBatch::_lastDeltaTimeUS { 0u } |
|
private |
◆ _linearDepthRT
◆ _lineariseDepthBuffer
◆ _operators
◆ _parent
PostFX& Divide::PreRenderBatch::_parent |
|
private |
◆ _pipelineLumCalcAverage
Pipeline* Divide::PreRenderBatch::_pipelineLumCalcAverage { nullptr } |
|
private |
◆ _pipelineLumCalcHistogram
Pipeline* Divide::PreRenderBatch::_pipelineLumCalcHistogram { nullptr } |
|
private |
◆ _pipelineToneMap
Pipeline* Divide::PreRenderBatch::_pipelineToneMap { nullptr } |
|
private |
◆ _pipelineToneMapAdaptive
Pipeline* Divide::PreRenderBatch::_pipelineToneMapAdaptive { nullptr } |
|
private |
◆ _sceneEdges
◆ _screenRTs
◆ _toneMap
◆ _toneMapAdaptive
The documentation for this class was generated from the following files: