15 HRESULT Create(ID3D11Device* device, UINT width, UINT height, DXGI_SAMPLE_DESC samples);
24 Microsoft::WRL::ComPtr<ID3D11Texture2D>
texture;
32 D3D_DRIVER_TYPE
driver = D3D_DRIVER_TYPE_HARDWARE;
82 Microsoft::WRL::ComPtr<ID3D11Device>
device;
83 Microsoft::WRL::ComPtr<ID3D11DeviceContext>
context;
92 std::string
status =
"D3D11: not initialized";
HRESULT(WINAPI *CUniBuffer::_ScriptApplyDigitSubstitution)(const SCRIPT_DIGITSUBSTITUTE *
UINT SelectSamples(UINT requested) const
ID3D11Texture2D * SceneColor() const
Microsoft::WRL::ComPtr< ID3D11RenderTargetView > sceneTarget
HRESULT AttachWindow(HWND window, UINT width, UINT height, UINT requestedSamples)
bool SupportsSamples(UINT count) const
void UnbindShaderResources()
ID3D11DeviceContext * Context() const
HRESULT Fail(const char *stage, HRESULT hr)
void BindSceneWithReadOnlyDepth()
ID3D11RenderTargetView * SceneTarget() const
D3D_FEATURE_LEVEL FeatureLevel() const
IDXGISwapChain1 * SwapChain() const
Device11(const Device11 &)=delete
Microsoft::WRL::ComPtr< ID3D11Texture2D > sceneColor
HRESULT CheckCloudFormats() const
ID3D11Device * Device() const
DXGI_ADAPTER_DESC1 adapterDescription
Microsoft::WRL::ComPtr< IDXGISwapChain1 > swapChain
bool DebugLayerEnabled() const
const DXGI_ADAPTER_DESC1 & Adapter() const
HRESULT Present(UINT syncInterval=1)
const std::string & Status() const
HRESULT SetFullscreen(bool fullscreen)
Microsoft::WRL::ComPtr< ID3D11Texture2D > backBuffer
HRESULT CreateTargets(UINT width, UINT height, UINT samples)
D3D_FEATURE_LEVEL featureLevel
Microsoft::WRL::ComPtr< ID3D11DeviceContext > context
Microsoft::WRL::ComPtr< ID3D11Device > device
HRESULT Resize(UINT width, UINT height, UINT requestedSamples)
HRESULT Create(const DeviceOptions11 &options={})
HRESULT RemovalReason() const
Device11 & operator=(const Device11 &)=delete
const SceneDepth11 & Depth() const
Microsoft::WRL::ComPtr< ID3D11ShaderResourceView > shaderView
ID3D11ShaderResourceView * StencilView() const
Microsoft::WRL::ComPtr< ID3D11DepthStencilView > writable
D3D11_TEXTURE2D_DESC description
ID3D11ShaderResourceView * ShaderView() const
ID3D11Texture2D * Texture() const
Microsoft::WRL::ComPtr< ID3D11DepthStencilView > readOnly
const D3D11_TEXTURE2D_DESC & Description() const
Microsoft::WRL::ComPtr< ID3D11Texture2D > texture
HRESULT Create(ID3D11Device *device, UINT width, UINT height, DXGI_SAMPLE_DESC samples)
ID3D11DepthStencilView * ReadView() const
Microsoft::WRL::ComPtr< ID3D11ShaderResourceView > stencilView
ID3D11DepthStencilView * WriteView() const