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

#include <shader_parser.hh>

Public Member Functions

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

Public Attributes

int64_t start
int64_t size

Detailed Description

Definition at line 139 of file shader_parser.hh.

Constructor & Destructor Documentation

◆ IndexRange()

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

Definition at line 143 of file shader_parser.hh.

References size, and start.

Referenced by overlaps().

Member Function Documentation

◆ last()

int64_t blender::gpu::shader::parser::IndexRange::last ( )
inline

◆ overlaps()

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

Definition at line 145 of file shader_parser.hh.

References IndexRange(), size, and start.

Member Data Documentation

◆ size

◆ start


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