version 3.3

VRS::Attribute Class Reference

#include <vrs/attribute.h>

Inheritance diagram for VRS::Attribute:

VRS::RenderObj VRS::SharedObj VRS::Visitable VRS::MonoAttribute VRS::PolyAttribute VRS::AccumBufferGL VRS::Alternative VRS::AtmosphericEnvironment VRS::AttributeComposite VRS::Bumpmap VRS::Camera VRS::ColorAttribute VRS::ColorBufferGL VRS::ContextData< T > VRS::DepthBufferGL VRS::DisableShading VRS::DisplayListGL VRS::EdgeEnhancementGL VRS::FaceStyle VRS::Filter VRS::FilterTag VRS::Fog VRS::FragmentDataLocation VRS::FragmentProgramNV VRS::FrameBufferGL VRS::FrameBufferObjectGL VRS::GL2::DrawBuffers VRS::GL2::EXTSHADER::UberShaderProgramObject VRS::GL2::ProgramObject VRS::GL2::ProgramVariable VRS::Halo VRS::LightModelGL VRS::LineStyle VRS::MappedVertexAttributeDataGL VRS::Material VRS::Mirror VRS::NormalmapGL VRS::OcclusionQueryGL VRS::PointStyle VRS::PolygonOffsetGL VRS::PrimitiveQuadTreeGL VRS::PrimitivesGeneratedQuery VRS::PrimitivesGeneratedQuery VRS::RasterizerDiscard VRS::SaveFrameBufferGL VRS::ShaderProgramGL VRS::ShadingHint VRS::ShapeMaterialGL VRS::SilhouetteStyleGL VRS::SOUND::DistanceModelAL VRS::SOUND::DopplerEffectAL VRS::SOUND::ListenerAL VRS::StencilBufferGL VRS::Stereo VRS::SurfaceStyleGL VRS::Switch VRS::Tessellation VRS::TexEnvGL VRS::TexGenGL VRS::Texture VRS::TextureEdgesGL VRS::TextureUnitSelectorGL VRS::TextureUnitSettingGL VRS::TexturingEffectGL VRS::TransformFeedback VRS::TransformFeedbackContentTable VRS::TransformFeedbackPrimitivesWrittenQuery VRS::VertexAttributeDataGL VRS::VertexAttributeMap VRS::VertexProgramNV VRS::Viewport EnvironmentRenderer::WaterReflected VRS::ClipPlane VRS::CullingAttribute VRS::Light VRS::Mirrored VRS::SceneSpy VRS::ShadowCaster VRS::Shadowed VRS::SOUND::SoundStreamAL VRS::SOUND::SourceAL

List of all members.

Public Member Functions

 Attribute (bool enabled=true)
 Per default all attributes are enabled.
virtual ID category () const
 VRS_TYPEINFO (Attribute, RenderObj)


Detailed Description

Abstract Base Class for Attributes of Rendering Contexts Attribute objects encapsulate graphical attributes and can be stored in contexts. There are two types of attributes, mono attributes and poly attributes. Common feature of all these attributes is that they can report the category under which they get stored in contexts.

Constructor & Destructor Documentation

VRS::Attribute::Attribute ( bool  enabled = true  ) 

Per default all attributes are enabled.


Member Function Documentation

virtual ID VRS::Attribute::category (  )  const [virtual]

Defines the category under which objects of this type get stored in contexts. By default, the category is the same as the class name. Attribute classes may want to overwrite the category for example, if further subclasses should be stored in the same category as their base class (i.e., the category of subclasses would return the base class name.

Reimplemented in VRS::ContextData< T >, VRS::CullingAttribute, VRS::Light, VRS::Mirror, VRS::TexEnvGL, VRS::TextureGL, VRS::TexturingEffectGL, VRS::Tessellation, VRS::Texture, and VRS::ContextData< VRS::Canvas * >.

VRS::Attribute::VRS_TYPEINFO ( Attribute  ,
RenderObj   
)


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

Generated on Wed May 22 06:00:21 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact