VTK  9.4.20241218
Public Member Functions | List of all members
vtkWebGPUActor::MapperBooleanCache Class Reference

#include <vtkWebGPUActor.h>

Public Member Functions

void SetValue (bool newValue)
 Update the cached value with the new value.
 
bool GetValue ()
 Returns the cached Value.
 
bool IsOutdated (vtkMapper *mapper)
 Returns true if the timestamp of the cached value is older than the mapper's MTime.
 

Detailed Description

Definition at line 138 of file vtkWebGPUActor.h.

Member Function Documentation

◆ SetValue()

void vtkWebGPUActor::MapperBooleanCache::SetValue ( bool  newValue)

Update the cached value with the new value.

This also increments the TimeStamp.

◆ GetValue()

bool vtkWebGPUActor::MapperBooleanCache::GetValue ( )
inline

Returns the cached Value.

Definition at line 152 of file vtkWebGPUActor.h.

◆ IsOutdated()

bool vtkWebGPUActor::MapperBooleanCache::IsOutdated ( vtkMapper mapper)

Returns true if the timestamp of the cached value is older than the mapper's MTime.


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