Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::CoordinateGridRenderer::CreateInfo Struct Reference

Create info. More...

#include <CoordinateGridRenderer.hpp>

Public Attributes

bool PackMatrixRowMajor = false
 Whether shader matrices are laid out in row-major order in GPU memory.
 

Detailed Description

Create info.

Member Data Documentation

◆ PackMatrixRowMajor

bool Diligent::CoordinateGridRenderer::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.