Blender V2.61 - r43446
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 208 of file RAS_MaterialBucket.h.


Member Typedef Documentation

Definition at line 215 of file RAS_MaterialBucket.h.


Constructor & Destructor Documentation

RAS_MaterialBucket::RAS_MaterialBucket ( RAS_IPolyMaterial mat)

Definition at line 519 of file RAS_MaterialBucket.cpp.

RAS_MaterialBucket::~RAS_MaterialBucket ( ) [virtual]

Definition at line 524 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 237 of file RAS_MaterialBucket.h.

Referenced by KX_GameObject::UpdateBuckets().

RAS_MeshSlot * RAS_MaterialBucket::AddMesh ( int  numverts)

Definition at line 543 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 555 of file RAS_MaterialBucket.cpp.

Referenced by RAS_MeshObject::AddMeshUser().

SG_DList& RAS_MaterialBucket::GetActiveMeshSlots ( ) [inline]

Definition at line 241 of file RAS_MaterialBucket.h.

RAS_MeshSlot* RAS_MaterialBucket::GetNextActiveMeshSlot ( ) [inline]

Definition at line 245 of file RAS_MaterialBucket.h.

References SG_DList::Remove().

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

Definition at line 533 of file RAS_MaterialBucket.cpp.

References RAS_IPolyMaterial::IsAlpha().

Referenced by RAS_BucketManager::FindBucket().

bool RAS_MaterialBucket::IsZSort ( ) const

Definition at line 538 of file RAS_MaterialBucket.cpp.

References RAS_IPolyMaterial::IsZSort().

Referenced by RenderMeshSlot().

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

Definition at line 574 of file RAS_MaterialBucket.cpp.

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

Definition at line 579 of file RAS_MaterialBucket.cpp.

void RAS_MaterialBucket::Optimize ( MT_Scalar  distance)

Definition at line 658 of file RAS_MaterialBucket.cpp.

void RAS_MaterialBucket::RemoveMesh ( class RAS_MeshSlot ms)

Definition at line 562 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: