Blender V4.5
blender::draw::overlay::FlatObjectRef Struct Reference

#include <overlay_private.hh>

Public Types

using Callback = FunctionRef<void(gpu::Batch *geom, ResourceHandle handle)>

Public Member Functions

void if_flat_axis_orthogonal_to_view (Manager &manager, const View &view, Callback callback) const

Static Public Member Functions

static int flat_axis_index_get (const Object *ob)

Public Attributes

gpu::Batch * geom
ResourceHandle handle
int flattened_axis_id

Detailed Description

Definition at line 1029 of file overlay_private.hh.

Member Typedef Documentation

◆ Callback

Member Function Documentation

◆ flat_axis_index_get()

int blender::draw::overlay::FlatObjectRef::flat_axis_index_get ( const Object * ob)
inlinestatic

◆ if_flat_axis_orthogonal_to_view()

Member Data Documentation

◆ flattened_axis_id

int blender::draw::overlay::FlatObjectRef::flattened_axis_id

Definition at line 1032 of file overlay_private.hh.

Referenced by if_flat_axis_orthogonal_to_view().

◆ geom

gpu::Batch* blender::draw::overlay::FlatObjectRef::geom

Definition at line 1030 of file overlay_private.hh.

Referenced by if_flat_axis_orthogonal_to_view().

◆ handle

ResourceHandle blender::draw::overlay::FlatObjectRef::handle

Definition at line 1031 of file overlay_private.hh.

Referenced by if_flat_axis_orthogonal_to_view().


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