torque Torque Game Engine Documentation
TGE Version 1.5.2

sgD3DCompatibility Class Reference

#include <sgD3DCompatibility.h>


Public Types

enum  sgShaderTypes {
  sgstEmptyShader = 0,
  sgstChannel0ModulateRGBA,
  sgstChannel1ModulateRGBA,
  sgstChannel0ModulateRGB,
  sgstChannel1ModulateRGB,
  sgstChannel0Modulate2RGBA,
  sgstChannel1Modulate2RGBA,
  sgstChannel0Modulate2RGB,
  sgstChannel1Modulate2RGB,
  sgstChannel0Modulate4RGBA,
  sgstChannel1Modulate4RGBA,
  sgstChannel0Modulate4RGB,
  sgstChannel1Modulate4RGB,
  sgstChannel0InterpolateRGB,
  sgstCount
}

Static Public Member Functions

static void sgInitShaders (void *device)
static void sgDeleteShaders (void *device)
static unsigned long sgGetShader (long shader)

Static Public Attributes

static int sgCombineMode [SG_MAX_CHANNELS]
static int sgScale [SG_MAX_CHANNELS]

Static Private Attributes

static unsigned long sgShaders [sgstCount]


Member Enumeration Documentation

Enumerator:
sgstEmptyShader 
sgstChannel0ModulateRGBA 
sgstChannel1ModulateRGBA 
sgstChannel0ModulateRGB 
sgstChannel1ModulateRGB 
sgstChannel0Modulate2RGBA 
sgstChannel1Modulate2RGBA 
sgstChannel0Modulate2RGB 
sgstChannel1Modulate2RGB 
sgstChannel0Modulate4RGBA 
sgstChannel1Modulate4RGBA 
sgstChannel0Modulate4RGB 
sgstChannel1Modulate4RGB 
sgstChannel0InterpolateRGB 
sgstCount 


Member Function Documentation

static void sgD3DCompatibility::sgInitShaders ( void device  )  [static]

static void sgD3DCompatibility::sgDeleteShaders ( void device  )  [static]

static unsigned long sgD3DCompatibility::sgGetShader ( long  shader  )  [static]


Field Documentation

int sgD3DCompatibility::sgCombineMode[SG_MAX_CHANNELS] [static]

int sgD3DCompatibility::sgScale[SG_MAX_CHANNELS] [static]

unsigned long sgD3DCompatibility::sgShaders[sgstCount] [static, private]




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen