NAP
Public Attributes | List of all members
RenderableComponent Class Reference

#include <rendercomponent.h>

Public Attributes

bool mVisible = true
 Property: 'Visible' if this object is rendered to target by the render service. More...
 
ResourcePtr< RenderLayermLayer
 Property: 'Layer' the render layer assigned to this component. More...
 
std::vector< ResourcePtr< RenderTag > > mTags
 Property: 'Tags' List of tags specifying the category this render component belongs to. More...
 
- Public Attributes inherited from Object
std::string mID
 Property: 'mID' unique name of the object. Used as an identifier by the system. More...
 

Additional Inherited Members

- Public Member Functions inherited from Component
virtual void getDependentComponents (std::vector< rtti::TypeInfo > &components) const
 
virtual const rtti::TypeInfo getInstanceType () const =0
 
- Public Member Functions inherited from Resource
 Resource ()
 
- Public Member Functions inherited from Object
 Object ()
 
virtual ~Object ()
 
virtual bool init (utility::ErrorState &errorState)
 
virtual void onDestroy ()
 
 Object (Object &)=delete
 
Objectoperator= (const Object &)=delete
 
 Object (Object &&)=delete
 
Objectoperator= (Object &&)=delete
 
- Static Public Member Functions inherited from Object
static bool isIDProperty (rtti::Instance &object, const rtti::Property &property)
 

Description

Resource part of the render-able component. Represents an object that can be rendered to screen or any other type of render target. This is the base class for all render-able types. Override the draw call to implement custom draw behavior.

Inheritance diagram for RenderableComponent:
[legend]
Collaboration diagram for RenderableComponent:
[legend]

Member Data Documentation

◆ mLayer

Property: 'Layer' the render layer assigned to this component.

◆ mTags

std::vector<ResourcePtr<RenderTag> > mTags

Property: 'Tags' List of tags specifying the category this render component belongs to.

◆ mVisible

bool mVisible = true

Property: 'Visible' if this object is rendered to target by the render service.