Blender V5.3
blender::eevee::SlotAllocator Class Reference

Public Member Functions

void reserve_slots (gpu::shader::ShaderCreateInfo &info)
void reserve_sampler_slot (int slot)
bool sampler_overflow () const
int requested_sampler_count () const
bool vertex_id_overflow () const
int get_next_sampler ()
void set_vertex_input (int index)

Detailed Description

Definition at line 595 of file eevee_shader.cc.

Member Function Documentation

◆ get_next_sampler()

int blender::eevee::SlotAllocator::get_next_sampler ( )
inline

◆ requested_sampler_count()

int blender::eevee::SlotAllocator::requested_sampler_count ( ) const
inline

◆ reserve_sampler_slot()

void blender::eevee::SlotAllocator::reserve_sampler_slot ( int slot)
inline

Definition at line 678 of file eevee_shader.cc.

References blender::count_bits_i().

Referenced by blender::eevee::add_pipeline_create_info().

◆ reserve_slots()

void blender::eevee::SlotAllocator::reserve_slots ( gpu::shader::ShaderCreateInfo & info)
inline

◆ sampler_overflow()

bool blender::eevee::SlotAllocator::sampler_overflow ( ) const
inline

◆ set_vertex_input()

void blender::eevee::SlotAllocator::set_vertex_input ( int index)
inline

◆ vertex_id_overflow()

bool blender::eevee::SlotAllocator::vertex_id_overflow ( ) const
inline

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