Class ViewportInfo

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class ViewportInfo : public gpa::playback::ResourceInfo

Graphics API agnostic information for viewport state.

Public Functions

virtual TypeId GetTypeId() const final override

Gets this ViewportInfo object's TypeId.

Returns

This ViewportInfo object's TypeId

Public Members

size_t viewportCount = {0}

The number of elements in pViewports.

api_types::Viewport const *pViewports = {nullptr}

The list of currently set Viewports.

Protected Functions

virtual void OnRegister() final override

This method will be called when this ResourceInfo is registered for the first time.

Note

If this method is overriden ResourceInfo::OnRegister() must be called