Blender  V2.93
Public Types | Public Member Functions | Public Attributes | List of all members
RenderTile Class Reference

#include <buffers.h>

Public Types

enum  Task { PATH_TRACE = (1 << 0) , BAKE = (1 << 1) , DENOISE = (1 << 2) }
 
enum  StealingState { NO_STEALING = 0 , CAN_BE_STOLEN = 1 , WAS_STOLEN = 2 }
 

Public Member Functions

 RenderTile ()
 
int4 bounds () const
 

Public Attributes

Task task
 
int x
 
int y
 
int w
 
int h
 
int start_sample
 
int num_samples
 
int sample
 
int resolution
 
int offset
 
int stride
 
int tile_index
 
device_ptr buffer
 
int device_size
 
StealingState stealing_state
 
RenderBuffersbuffers
 

Detailed Description

Definition at line 132 of file buffers.h.

Member Enumeration Documentation

◆ StealingState

Enumerator
NO_STEALING 
CAN_BE_STOLEN 
WAS_STOLEN 

Definition at line 149 of file buffers.h.

◆ Task

Enumerator
PATH_TRACE 
BAKE 
DENOISE 

Definition at line 134 of file buffers.h.

Constructor & Destructor Documentation

◆ RenderTile()

RenderTile::RenderTile ( )

Definition at line 110 of file buffers.cpp.

References buffer, buffers, h, NO_STEALING, NULL, num_samples, offset, resolution, sample, start_sample, stealing_state, stride, w, x, and y.

Member Function Documentation

◆ bounds()

int4 RenderTile::bounds ( ) const
inline

Definition at line 156 of file buffers.h.

References h, make_int4, w, x, and y.

Referenced by CPUDevice::denoise_openimagedenoise().

Member Data Documentation

◆ buffer

device_ptr RenderTile::buffer

◆ buffers

RenderBuffers* RenderTile::buffers

◆ device_size

int RenderTile::device_size

◆ h

int RenderTile::h

◆ num_samples

int RenderTile::num_samples

◆ offset

int RenderTile::offset

◆ resolution

int RenderTile::resolution

Definition at line 141 of file buffers.h.

Referenced by Session::acquire_tile(), and RenderTile().

◆ sample

int RenderTile::sample

◆ start_sample

int RenderTile::start_sample

◆ stealing_state

StealingState RenderTile::stealing_state

◆ stride

int RenderTile::stride

◆ task

Task RenderTile::task

◆ tile_index

int RenderTile::tile_index

◆ w

int RenderTile::w

◆ x

int RenderTile::x

◆ y

int RenderTile::y

The documentation for this class was generated from the following files: