PixelLightAPI  .
Public Member Functions
PLRenderer::SPMaterialPreview Class Reference

Material preview surface painter class. More...

#include <SPMaterialPreview.h>

Inheritance diagram for PLRenderer::SPMaterialPreview:
Inheritance graph
[legend]

List of all members.

Public Member Functions

PLRENDERER_API SPMaterialPreview (Renderer &cRenderer)
 Constructor.
virtual PLRENDERER_API ~SPMaterialPreview ()
 Destructor.
PLCore::String GetMaterial () const
 Returns the name of the used material.
void SetMaterial (const PLCore::String &sName="")
 Sets the name of the used material.

Detailed Description

Material preview surface painter class.


Constructor & Destructor Documentation

Constructor.

Parameters:
[in]cRendererRenderer to use
virtual PLRENDERER_API PLRenderer::SPMaterialPreview::~SPMaterialPreview ( ) [virtual]

Destructor.


Member Function Documentation

Returns the name of the used material.

Returns:
Name of the used material
void PLRenderer::SPMaterialPreview::SetMaterial ( const PLCore::String sName = "") [inline]

Sets the name of the used material.

Parameters:
[in]sNameName of the used material

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


PixelLight PixelLight 0.9.10-R1
Copyright (C) 2002-2011 by The PixelLight Team
Last modified Fri Dec 23 2011 15:51:22
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported