Blender  V2.59
Classes | Public Types | Public Member Functions
RAS_MaterialBucket Class Reference

#include <RAS_MaterialBucket.h>

List of all members.

Classes

struct  less

Public Types

typedef set
< RAS_MaterialBucket *, less
Set

Public Member Functions

 RAS_MaterialBucket (RAS_IPolyMaterial *mat)
virtual ~RAS_MaterialBucket ()
RAS_IPolyMaterialGetPolyMaterial () const
bool IsAlpha () const
bool IsZSort () const
bool ActivateMaterial (const MT_Transform &cameratrans, RAS_IRasterizer *rasty, RAS_IRenderTools *rendertools)
void RenderMeshSlot (const MT_Transform &cameratrans, RAS_IRasterizer *rasty, RAS_IRenderTools *rendertools, RAS_MeshSlot &ms)
list< RAS_MeshSlot >::iterator msBegin ()
list< RAS_MeshSlot >::iterator msEnd ()
class RAS_MeshSlotAddMesh (int numverts)
class RAS_MeshSlotCopyMesh (class RAS_MeshSlot *ms)
void RemoveMesh (class RAS_MeshSlot *ms)
void Optimize (MT_Scalar distance)
void ActivateMesh (RAS_MeshSlot *slot)
SG_DListGetActiveMeshSlots ()
RAS_MeshSlotGetNextActiveMeshSlot ()

Detailed Description

Definition at line 210 of file RAS_MaterialBucket.h.


Member Typedef Documentation

Definition at line 217 of file RAS_MaterialBucket.h.


Constructor & Destructor Documentation

RAS_MaterialBucket::RAS_MaterialBucket ( RAS_IPolyMaterial mat)

Definition at line 520 of file RAS_MaterialBucket.cpp.

RAS_MaterialBucket::~RAS_MaterialBucket ( ) [virtual]

Definition at line 525 of file RAS_MaterialBucket.cpp.


Member Function Documentation

bool RAS_MaterialBucket::ActivateMaterial ( const MT_Transform cameratrans,
RAS_IRasterizer rasty,
RAS_IRenderTools rendertools 
)
void RAS_MaterialBucket::ActivateMesh ( RAS_MeshSlot slot) [inline]

Definition at line 239 of file RAS_MaterialBucket.h.

Referenced by KX_GameObject::UpdateBuckets().

RAS_MeshSlot * RAS_MaterialBucket::AddMesh ( int  numverts)

Definition at line 544 of file RAS_MaterialBucket.cpp.

References RAS_MeshSlot::init().

Referenced by RAS_MeshObject::AddPolygon().

RAS_MeshSlot * RAS_MaterialBucket::CopyMesh ( class RAS_MeshSlot ms)

Definition at line 556 of file RAS_MaterialBucket.cpp.

Referenced by RAS_MeshObject::AddMeshUser().

SG_DList& RAS_MaterialBucket::GetActiveMeshSlots ( ) [inline]

Definition at line 243 of file RAS_MaterialBucket.h.

RAS_MeshSlot* RAS_MaterialBucket::GetNextActiveMeshSlot ( ) [inline]

Definition at line 247 of file RAS_MaterialBucket.h.

References SG_DList::Remove().

RAS_IPolyMaterial * RAS_MaterialBucket::GetPolyMaterial ( ) const
bool RAS_MaterialBucket::IsAlpha ( ) const

Definition at line 534 of file RAS_MaterialBucket.cpp.

References RAS_IPolyMaterial::IsAlpha().

Referenced by RAS_BucketManager::FindBucket().

bool RAS_MaterialBucket::IsZSort ( ) const

Definition at line 539 of file RAS_MaterialBucket.cpp.

References RAS_IPolyMaterial::IsZSort().

Referenced by RenderMeshSlot().

list< RAS_MeshSlot >::iterator RAS_MaterialBucket::msBegin ( )

Definition at line 575 of file RAS_MaterialBucket.cpp.

list< RAS_MeshSlot >::iterator RAS_MaterialBucket::msEnd ( )

Definition at line 580 of file RAS_MaterialBucket.cpp.

void RAS_MaterialBucket::Optimize ( MT_Scalar  distance)

Definition at line 656 of file RAS_MaterialBucket.cpp.

void RAS_MaterialBucket::RemoveMesh ( class RAS_MeshSlot ms)

Definition at line 563 of file RAS_MaterialBucket.cpp.

Referenced by RAS_MeshObject::RemoveFromBuckets().

void RAS_MaterialBucket::RenderMeshSlot ( const MT_Transform cameratrans,
RAS_IRasterizer rasty,
RAS_IRenderTools rendertools,
RAS_MeshSlot ms 
)

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