Blender V5.3
blender::gpu::shader::parser::IndexRange Struct Reference

#include <utils.hh>

Public Member Functions

 IndexRange (int64_t start, int64_t size)
bool overlaps (IndexRange other) const
int64_t last () const

Public Attributes

int64_t start
int64_t size

Detailed Description

Poor man's IndexRange.

Definition at line 47 of file gpu/shader_tool/utils.hh.

Constructor & Destructor Documentation

◆ IndexRange()

blender::gpu::shader::parser::IndexRange::IndexRange ( int64_t start,
int64_t size )
inline

Definition at line 51 of file gpu/shader_tool/utils.hh.

References size, and start.

Referenced by overlaps().

Member Function Documentation

◆ last()

◆ overlaps()

bool blender::gpu::shader::parser::IndexRange::overlaps ( IndexRange other) const
inline

Definition at line 53 of file gpu/shader_tool/utils.hh.

References IndexRange(), size, and start.

Member Data Documentation

◆ size

◆ start


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