11 #ifndef vtkWebGPULight_h
12 #define vtkWebGPULight_h
16 #include "vtkRenderingWebGPUModule.h"
19 VTK_ABI_NAMESPACE_BEGIN
50 vtkTypeUInt32 Positional = 0;
51 vtkTypeFloat32 ConeAngle = 0;
52 vtkTypeFloat32 Exponent = 0;
54 vtkTypeFloat32 DirectionVC[4] = {};
55 vtkTypeFloat32 PositionVC[4] = {};
56 vtkTypeFloat32 Attenuation[4] = {};
65 #define vtkWebGPULight_OVERRIDE_ATTRIBUTES vtkWebGPULight::CreateOverrideAttributes()
const void * GetCachedLightInformation()
Attribute for vtkObjectFactory overrides.
abstract specification for renderers
static vtkLight * New()
Create a light with the focal point at the origin and its position set to (0,0,1).
a simple class to control print indentation
a virtual camera for 3D rendering
a virtual light for 3D rendering
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static std::size_t GetCacheSizeBytes()
LightInfo CachedLightInfo
virtual void Render(vtkRenderer *, int)
Abstract interface to renderer.