Blender V4.3
DRWTempInstancingHandle Struct Reference

Public Attributes

blender::gpu::Batch * batch
blender::gpu::Batch * instancer
blender::gpu::VertBufbuf
blender::gpu::Batch * geom

Detailed Description

Definition at line 65 of file draw_instance_data.cc.

Member Data Documentation

◆ batch

blender::gpu::Batch* DRWTempInstancingHandle::batch

Copy of geom but with the per-instance attributes.

Definition at line 67 of file draw_instance_data.cc.

Referenced by DRW_instance_buffer_finish(), DRW_temp_batch_instance_request(), and temp_instancing_handle_free().

◆ buf

blender::gpu::VertBuf* DRWTempInstancingHandle::buf

Call-buffer to be used instead of instancer.

Definition at line 71 of file draw_instance_data.cc.

Referenced by DRW_instance_buffer_finish(), and DRW_temp_batch_instance_request().

◆ geom

blender::gpu::Batch* DRWTempInstancingHandle::geom

Original non-instanced batch pointer.

Definition at line 73 of file draw_instance_data.cc.

Referenced by DRW_instance_buffer_finish(), and DRW_temp_batch_instance_request().

◆ instancer

blender::gpu::Batch* DRWTempInstancingHandle::instancer

Batch containing instancing attributes.

Definition at line 69 of file draw_instance_data.cc.

Referenced by DRW_instance_buffer_finish(), and DRW_temp_batch_instance_request().


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