Blender V4.3
blender::bke::pbvh::GridsNode Struct Reference

#include <BKE_pbvh_api.hh>

Inherits blender::bke::pbvh::Node.

Public Member Functions

Span< intgrids () const
 

Public Attributes

Span< intprim_indices_
 
- Public Attributes inherited from blender::bke::pbvh::Node
Bounds< float3bounds_ = {}
 
Bounds< float3bounds_orig_ = {}
 
int children_offset_ = 0
 
PBVHNodeFlags flag_ = PBVH_UpdateRedraw
 
float tmin_ = 0.0f
 
int debug_draw_gen_ = 0
 
pixels::NodeDatapixels_ = nullptr
 

Detailed Description

Definition at line 169 of file BKE_pbvh_api.hh.

Member Function Documentation

◆ grids()

Span< int > blender::bke::pbvh::GridsNode::grids ( ) const
inline

Return grid indices contained by the node.

Definition at line 635 of file BKE_pbvh_api.hh.

References prim_indices_.

Member Data Documentation

◆ prim_indices_

Span<int> blender::bke::pbvh::GridsNode::prim_indices_

Multires grid indices for this node. Refers to a subset of Tree::prim_indices_.

Definition at line 171 of file BKE_pbvh_api.hh.

Referenced by grids().


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