mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
42 lines
937 B
C
42 lines
937 B
C
|
/********************************************************
|
|||
|
* StateBlock.h *
|
|||
|
* *
|
|||
|
* XFX StateBlock definition file *
|
|||
|
* Copyright <EFBFBD> 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_
|