mirror of
https://github.com/borgesdan/xn65
synced 2024-12-29 21:54:47 +01:00
Remove BlendRenderTarget do arquivo de implementações
This commit is contained in:
parent
146ae9cf89
commit
b822909993
@ -9,20 +9,7 @@ namespace xna {
|
|||||||
|
|
||||||
comptr<IDXGIAdapter1> Adapter;
|
comptr<IDXGIAdapter1> Adapter;
|
||||||
comptr<IDXGIFactory1> Factory;
|
comptr<IDXGIFactory1> Factory;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct BlendRenderTarget {
|
|
||||||
bool Enabled{ true };
|
|
||||||
Blend Source{ Blend::SourceAlpha };
|
|
||||||
Blend Destination{ Blend::InverseSourceAlpha };
|
|
||||||
BlendOperation Operation{ BlendOperation::Add };
|
|
||||||
Blend SourceAlpha{ Blend::One };
|
|
||||||
Blend DestinationAlpha{ Blend::Zero };
|
|
||||||
BlendOperation OperationAlpha{ BlendOperation::Add };
|
|
||||||
ColorWriteChannels WriteMask{ ColorWriteChannels::All };
|
|
||||||
|
|
||||||
constexpr BlendRenderTarget() = default;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct BlendStateImplementation {
|
struct BlendStateImplementation {
|
||||||
friend class BlendState;
|
friend class BlendState;
|
||||||
|
@ -3,11 +3,23 @@
|
|||||||
|
|
||||||
#include "../common/color.hpp"
|
#include "../common/color.hpp"
|
||||||
#include "../default.hpp"
|
#include "../default.hpp"
|
||||||
#include "gresource.hpp"
|
|
||||||
#include "../platform.hpp"
|
#include "../platform.hpp"
|
||||||
|
#include "gresource.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
struct BlendRenderTarget;
|
struct BlendRenderTarget {
|
||||||
|
bool Enabled{ true };
|
||||||
|
Blend Source{ Blend::SourceAlpha };
|
||||||
|
Blend Destination{ Blend::InverseSourceAlpha };
|
||||||
|
BlendOperation Operation{ BlendOperation::Add };
|
||||||
|
Blend SourceAlpha{ Blend::One };
|
||||||
|
Blend DestinationAlpha{ Blend::Zero };
|
||||||
|
BlendOperation OperationAlpha{ BlendOperation::Add };
|
||||||
|
ColorWriteChannels WriteMask{ ColorWriteChannels::All };
|
||||||
|
|
||||||
|
constexpr BlendRenderTarget() = default;
|
||||||
|
};
|
||||||
|
|
||||||
struct BlendStateImplementation;
|
struct BlendStateImplementation;
|
||||||
|
|
||||||
//Contains blend state for the device.
|
//Contains blend state for the device.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user