Blender V5.0
TileSize Struct Reference

#include <tile.h>

Public Member Functions

 TileSize ()=default
 TileSize (const int width, const int height, const int num_samples)
bool operator== (const TileSize &other) const
bool operator!= (const TileSize &other) const

Public Attributes

int width = 0
int height = 0
int num_samples = 0

Detailed Description

Definition at line 13 of file integrator/tile.h.

Constructor & Destructor Documentation

◆ TileSize() [1/2]

TileSize::TileSize ( )
default

Referenced by operator!=(), and operator==().

◆ TileSize() [2/2]

TileSize::TileSize ( const int width,
const int height,
const int num_samples )
inline

Definition at line 16 of file integrator/tile.h.

References height, num_samples, and width.

Member Function Documentation

◆ operator!=()

bool TileSize::operator!= ( const TileSize & other) const
inline

Definition at line 25 of file integrator/tile.h.

References TileSize().

◆ operator==()

bool TileSize::operator== ( const TileSize & other) const
inline

Definition at line 21 of file integrator/tile.h.

References height, num_samples, TileSize(), and width.

Member Data Documentation

◆ height

int TileSize::height = 0

Definition at line 30 of file integrator/tile.h.

Referenced by operator<<(), operator==(), tile_calculate_best_size(), and TileSize().

◆ num_samples

int TileSize::num_samples = 0

Definition at line 31 of file integrator/tile.h.

Referenced by operator<<(), operator==(), tile_calculate_best_size(), and TileSize().

◆ width

int TileSize::width = 0

Definition at line 30 of file integrator/tile.h.

Referenced by operator<<(), operator==(), tile_calculate_best_size(), and TileSize().


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