Vector field renderer creation info. More...
#include <VectorFieldRenderer.hpp>
Public Attributes | |
IRenderDevice * | pDevice = nullptr |
Render device. | |
IRenderStateCache * | pStateCache = nullptr |
An optional render state cache. | |
Uint8 | NumRenderTargets = 0 |
The number of render targets. | |
TEXTURE_FORMAT | RTVFormats [DILIGENT_MAX_RENDER_TARGETS] = {} |
Render target formats. | |
TEXTURE_FORMAT | DSVFormat = TEX_FORMAT_UNKNOWN |
Depth-stencil view format. | |
const char * | PSMainSource = nullptr |
Custom pixel shader main function source code. | |
bool | PackMatrixRowMajor = false |
Whether shader matrices are laid out in row-major order in GPU memory. | |
bool | AsyncShaders = false |
Whether to compile shaders asynchronously. | |
Vector field renderer creation info.
bool Diligent::VectorFieldRenderer::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 Diligent::SHADER_COMPILE_FLAG_PACK_MATRIX_ROW_MAJOR flag and use the row-major layout.