Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
BasicEffect (GraphicsDevice device) | |
override Effect | Clone () |
void | EnableDefaultLighting () |
virtual void | Dispose () |
override string | ToString () |
Protected Member Functions | |
BasicEffect (BasicEffect cloneSource) | |
override void | Dispose ([MarshalAs(UnmanagedType.U1)] bool P_0) |
void | raise_Disposing (object value0, EventArgs value1) |
Protected Attributes | |
GraphicsDevice | _parent |
Package Functions | |
override bool | WantParameter (EffectParameter parameter) |
override void | OnApply () |
unsafe void | OnLostDevice () |
unsafe void | OnResetDevice () |
void | AddClonedEffect (Effect effect) |
virtual int | SaveDataForRecreation () |
virtual unsafe int | RecreateAndPopulateObject () |
virtual unsafe void | ReleaseNativeObject ([MarshalAs(UnmanagedType.U1)] bool disposeManagedResource) |
Static Package Functions | |
static unsafe Effect | GetManagedObject (ID3DXEffect *pInterface, GraphicsDevice pDevice, uint pool) |
Package Attributes | |
byte[] | pCachedEffectData |
WeakReference | pParentEffect |
List< WeakReference > | pClonedEffects |
EffectTechnique | _currentTechnique |
unsafe ID3DXEffect * | pComPtr |
ulong | _internalHandle |
bool | isDisposed |
Static Package Attributes | |
static object | pSyncObject = new object() |
Properties | |
Matrix | World [get, set] |
Matrix | View [get, set] |
Matrix | Projection [get, set] |
Vector3 | DiffuseColor [get, set] |
Vector3 | EmissiveColor [get, set] |
Vector3 | SpecularColor [get, set] |
float | SpecularPower [get, set] |
float | Alpha [get, set] |
bool | LightingEnabled [get, set] |
bool | PreferPerPixelLighting [get, set] |
Vector3 | AmbientLightColor [get, set] |
DirectionalLight | DirectionalLight0 [get] |
DirectionalLight | DirectionalLight1 [get] |
DirectionalLight | DirectionalLight2 [get] |
bool | FogEnabled [get, set] |
float | FogStart [get, set] |
float | FogEnd [get, set] |
Vector3 | FogColor [get, set] |
bool | TextureEnabled [get, set] |
Texture2D | Texture [get, set] |
bool | VertexColorEnabled [get, set] |
EffectParameterCollection | Parameters [get] |
EffectTechniqueCollection | Techniques [get] |
unsafe EffectTechnique | CurrentTechnique [get, set] |
bool | IsDisposed [get] |
object | Tag [get, set] |
string | Name [get, set] |
GraphicsDevice | GraphicsDevice [get] |
EventHandler< EventArgs > | Disposing |
Private Member Functions | |
void | CacheEffectParameters (BasicEffect cloneSource) |
unsafe void | InitializeHelpers () |
unsafe void | CreateEffectFromCode (GraphicsDevice graphicsDevice, byte[] effectCode) |
int IGraphicsResource. | SaveDataForRecreation () |
int IGraphicsResource. | RecreateAndPopulateObject () |
void IGraphicsResource. | ReleaseNativeObject ([MarshalAs(UnmanagedType.U1)] bool disposeManagedResource) |
void | OnObjectCreation () |
void | _0021Effect () |
void | _007EEffect () |
void | _0021GraphicsResource () |
void | _007EGraphicsResource () |
Static Private Member Functions | |
static string | FormatShaderModel (uint shaderModel) |
Definition at line 3 of file BasicEffect.cs.