Blender V5.0
blender::draw::overlay::FlatObjectRef Struct Reference

#include <overlay_private.hh>

Public Types

using Callback = FunctionRef<void(gpu::Batch *geom, ResourceIndex 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
ResourceHandleRange handle
int flattened_axis_id

Detailed Description

Definition at line 986 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 989 of file overlay_private.hh.

Referenced by if_flat_axis_orthogonal_to_view().

◆ geom

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

Definition at line 987 of file overlay_private.hh.

Referenced by if_flat_axis_orthogonal_to_view().

◆ handle

ResourceHandleRange blender::draw::overlay::FlatObjectRef::handle

Definition at line 988 of file overlay_private.hh.

Referenced by if_flat_axis_orthogonal_to_view().


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