Blender  V3.3
Functions
gpu_matrix_private.h File Reference

Go to the source code of this file.

Functions

struct GPUMatrixStateGPU_matrix_state_create (void)
 
void GPU_matrix_state_discard (struct GPUMatrixState *state)
 

Function Documentation

◆ GPU_matrix_state_create()

struct GPUMatrixState* GPU_matrix_state_create ( void  )

Definition at line 54 of file gpu_matrix.cc.

References MATRIX_4X4_IDENTITY, MEM_mallocN, and state.

Referenced by blender::gpu::Context::Context().

◆ GPU_matrix_state_discard()

void GPU_matrix_state_discard ( struct GPUMatrixState state)

Definition at line 75 of file gpu_matrix.cc.

References MEM_freeN, and state.

Referenced by blender::gpu::Context::~Context().