Blender V5.0
ObjectMatrices Struct Reference

#include <draw_shader_shared.hh>

Public Member Functions

ObjectMatrices
void sync (const Object &object)
void sync (const float4x4 &model_matrix)

Public Attributes

float4x4 model
float4x4 model_inverse

Detailed Description

Definition at line 133 of file draw_shader_shared.hh.

Member Function Documentation

◆ sync() [1/2]

void ObjectMatrices::sync ( const float4x4 & model_matrix)
inline

Definition at line 43 of file draw_resource.hh.

References blender::math::invert(), model, and model_inverse.

◆ sync() [2/2]

void ObjectMatrices::sync ( const Object & object)
inline

Definition at line 37 of file draw_resource.hh.

References model, and model_inverse.

Member Data Documentation

◆ model

float4x4 ObjectMatrices::model

Definition at line 134 of file draw_shader_shared.hh.

Referenced by operator<<(), sync(), and sync().

◆ model_inverse

float4x4 ObjectMatrices::model_inverse

Definition at line 135 of file draw_shader_shared.hh.

Referenced by operator<<(), sync(), and sync().


The documentation for this struct was generated from the following files: