Class ScissorRectInfo

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class ScissorRectInfo : public gpa::playback::ResourceInfo

Graphics API agnostic information for scissor rect state.

Public Functions

virtual TypeId GetTypeId() const final override

Gets this ScissorRectInfo object's TypeId.

Returns

This ScissorRectInfo object's TypeId

Public Members

size_t scissorRectCount = {0}

The number of elements in pScissorRects.

api_types::Rect2D const *pScissorRects = {nullptr}

The list of currently set scissor rects, represented as Rect2D objects.

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