Depth range calculator create info. More...
#include <DepthRangeCalculator.hpp>
Public Attributes | |
IRenderDevice * | pDevice = nullptr |
Render device. | |
IRenderStateCache * | pStateCache = nullptr |
An optional render state cache. | |
bool | PackMatrixRowMajor = false |
bool | AsyncShaders = false |
Whether to compile shaders asynchronously. | |
bool | ReadBackData = false |
Whether to read back the depth range data to the CPU. | |
Depth range calculator create info.
bool Diligent::DepthRangeCalculator::CreateInfo::PackMatrixRowMajor = false |
Whether shader matrices are laid out in row-major order in GPU memory.
By default, shader matrices are laid out in column-major order in GPU memory. If this option is set to true, shaders will be compiled with the SHADER_COMPILE_FLAG_PACK_MATRIX_ROW_MAJOR flag and use the row-major layout.