mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Added 'ValueTypes' Boolean and Byte Added System.Collections.Generic.Stack (not used, or tested, but could be useful in final product)
42 lines
938 B
C++
42 lines
938 B
C++
/********************************************************
|
|
* StateBlock.h *
|
|
* *
|
|
* XFX StateBlock definition file *
|
|
* Copyright © XFX Team. All Rights Reserved *
|
|
********************************************************/
|
|
#ifndef _XFX_GRAPHICS_STATEBLOCK_
|
|
#define _XFX_GRAPHICS_STATEBLOCK_
|
|
|
|
#include <System/Delegates.h>
|
|
#include "GraphicsDevice.h"
|
|
|
|
namespace XFX
|
|
{
|
|
namespace Graphics
|
|
{
|
|
class StateBlock : public IDisposable
|
|
{
|
|
protected:
|
|
void Dispose(bool disposing);
|
|
|
|
public:
|
|
EventHandler Disposing;
|
|
|
|
StateBlock();
|
|
StateBlock(GraphicsDevice* graphiceDevice);
|
|
StateBlock(const StateBlock &obj);
|
|
|
|
void Apply();
|
|
void Capture();
|
|
void Dispose();
|
|
bool Equals(StateBlock other);
|
|
int GetHashCode();
|
|
|
|
bool operator!=(const StateBlock other);
|
|
bool operator==(const StateBlock other);
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif //_XFX_GRAPHICS_STATEBLOCK_
|