mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Began transforming of current API to represent XNA 4.0, which is cleaner. Dictionary<TKey, TValue> should now work (sort of-- need to implement resizing and enumerating) Currently hunting down GraphicsDevice initialization Up next: (hopefully successful) rendering of primitives
35 lines
945 B
C++
35 lines
945 B
C++
/********************************************************
|
|
* DirectionalLight.h *
|
|
* *
|
|
* XFX::Graphics::DirectionalLight definition file *
|
|
* Copyright © XFX Team. All Rights Reserved *
|
|
********************************************************/
|
|
#ifndef _XFX_GRAPHICS_DIRECTIONALLIGHT_
|
|
#define _XFX_GRAPHICS_DIRECTIONALLIGHT_
|
|
|
|
#include <System/Object.h>
|
|
#include "EffectParameter.h"
|
|
#include <Vector3.h>
|
|
|
|
namespace XFX
|
|
{
|
|
namespace Graphics
|
|
{
|
|
// Creates a DirectionalLight object.
|
|
class DirectionalLight : public Object
|
|
{
|
|
public:
|
|
Vector3 DiffuseColor;
|
|
Vector3 Direction;
|
|
bool Enabled;
|
|
Vector3 SpecularColor;
|
|
|
|
DirectionalLight(EffectParameter directionParameter, EffectParameter diffuseColorParameter, EffectParameter specularColorParameter, DirectionalLight const * const cloneSource);
|
|
|
|
int GetType() const;
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif //_XFX_GRAPHICS_DIRECTIONALLIGHT_
|