nCine::RenderResources::CameraUniformData struct

Per-shader camera uniform data and the frames its matrices were last updated.

Constructors, destructors, conversion operators

CameraUniformData()

Public variables

RHI::ShaderUniforms shaderUniforms
Camera* camera
std::uint32_t updateFrameProjectionMatrix
std::uint32_t updateFrameViewMatrix
bool projectionFlippedY
Whether the projection was last uploaded with its Y flipped (see UpdateCameraUniforms()).