Blender V4.3
gpu_matrix_private.hh File Reference

Go to the source code of this file.

Functions

GPUMatrixStateGPU_matrix_state_create ()
 
void GPU_matrix_state_discard (GPUMatrixState *state)
 

Function Documentation

◆ GPU_matrix_state_create()

GPUMatrixState * GPU_matrix_state_create ( )

Definition at line 55 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 ( GPUMatrixState * state)

Definition at line 76 of file gpu_matrix.cc.

References MEM_freeN(), and state.

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