VTK  9.7.20261107
vtkWebGPUEnvironmentMap Class Reference

#include <vtkWebGPUEnvironmentMap.h>

Detailed Description

Generates the image based lighting textures of a WebGPU renderer.

Definition at line 19 of file vtkWebGPUEnvironmentMap.h.

Classes

struct  Source
 The environment texture the lighting textures are generated from. More...

Public Member Functions

bool Update (vtkWebGPUConfiguration *configuration, const Source &source)
bool IsReady () const
WGPUSampler GetSampler () const
WGPUTextureView GetPrefilterView () const
WGPUTextureView GetIrradianceView () const
WGPUTextureView GetLookupTableView () const
WGPUBuffer GetHarmonicsBuffer () const
std::uint32_t GetPrefilterLevels () const
void ReleaseGraphicsResources ()

Static Public Member Functions

static constexpr std::uint64_t GetHarmonicsBufferSize ()

Member Function Documentation

◆ Update()

bool vtkWebGPUEnvironmentMap::Update ( vtkWebGPUConfiguration * configuration,
const Source & source )

◆ IsReady()

bool vtkWebGPUEnvironmentMap::IsReady ( ) const
inline

Definition at line 44 of file vtkWebGPUEnvironmentMap.h.

◆ GetSampler()

WGPUSampler vtkWebGPUEnvironmentMap::GetSampler ( ) const
inline

Definition at line 46 of file vtkWebGPUEnvironmentMap.h.

◆ GetPrefilterView()

WGPUTextureView vtkWebGPUEnvironmentMap::GetPrefilterView ( ) const
inline

Definition at line 47 of file vtkWebGPUEnvironmentMap.h.

◆ GetIrradianceView()

WGPUTextureView vtkWebGPUEnvironmentMap::GetIrradianceView ( ) const
inline

Definition at line 48 of file vtkWebGPUEnvironmentMap.h.

◆ GetLookupTableView()

WGPUTextureView vtkWebGPUEnvironmentMap::GetLookupTableView ( ) const
inline

Definition at line 49 of file vtkWebGPUEnvironmentMap.h.

◆ GetHarmonicsBuffer()

WGPUBuffer vtkWebGPUEnvironmentMap::GetHarmonicsBuffer ( ) const
inline

Definition at line 50 of file vtkWebGPUEnvironmentMap.h.

◆ GetHarmonicsBufferSize()

constexpr std::uint64_t vtkWebGPUEnvironmentMap::GetHarmonicsBufferSize ( )
inlinestaticconstexpr

Definition at line 51 of file vtkWebGPUEnvironmentMap.h.

◆ GetPrefilterLevels()

std::uint32_t vtkWebGPUEnvironmentMap::GetPrefilterLevels ( ) const
inline

Definition at line 53 of file vtkWebGPUEnvironmentMap.h.

◆ ReleaseGraphicsResources()

void vtkWebGPUEnvironmentMap::ReleaseGraphicsResources ( )

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