[Modify] 병합

This commit is contained in:
qordlsgur
2025-12-19 17:59:41 +09:00
7 changed files with 15 additions and 0 deletions
@@ -888,6 +888,10 @@ HRESULT CGameInstance::Bind_CS_RenderTarget(_uint iIndex, const _wstring& strTar
{
return m_pRenderTarget_Manager->Bind_CS_RenderTarget(iIndex, strTargetTag);
}
_float2 CGameInstance::Get_RenderTargetSize(const _wstring& wstrTargetKey)
{
return m_pRenderTarget_Manager->Get_RenderTargetSize(wstrTargetKey);
}
#ifdef _DEBUG
void CGameInstance::RenderTarget_Debuger()
{
@@ -16,6 +16,8 @@ HRESULT CRenderTarget::Initialize(_uint iSizeX, _uint iSizeY, DXGI_FORMAT ePixel
{
D3D11_TEXTURE2D_DESC TextureDesc{};
m_vTargetSize.x = (_float)iSizeX;
m_vTargetSize.y = (_float)iSizeY;
TextureDesc.Width = iSizeX;
TextureDesc.Height = iSizeY;
TextureDesc.MipLevels = 1;
@@ -180,6 +180,7 @@ class ENGINE_DLL CGameInstance final : public CBase
HRESULT Refit_RenderTarget(class CVIBuffer_Rect* pVIBuffer, class CShader* pShader, const _wstring& wstrRenderTargetInput, const _wstring& wstrRenderTargetOutput, SHADER_PASS_DEFERRED ePass);
HRESULT Finish_RenderTarget(class CVIBuffer_Rect* pVIBuffer, class CShader* pShader, const _wstring& wstrRenderTargetOriginal, const _wstring& wstrRenderTargetBloomed, SHADER_PASS_DEFERRED ePass);
HRESULT Bind_CS_RenderTarget(_uint iIndex, const _wstring& strTargetTag);
_float2 Get_RenderTargetSize(const _wstring& wstrTargetKey);
#ifdef _DEBUG
void RenderTarget_Debuger();
HRESULT Render_RenderTarget_Debug(class CShader* pShader, class CVIBuffer_Rect* pVIBuffer);
@@ -44,6 +44,7 @@ class CRenderTarget final : public CBase
private:
_float4x4 m_WorldMatrix = {};
_point m_ptWindowSize = {};
_float2 m_vTargetSize = {};
_bool m_isDraw = { false };
#endif
@@ -29,6 +29,7 @@ class CRenderTarget_Manager final : public CBase
// 랜더 타겟의 크기를 dest로 다시 맞춤
HRESULT Refit_RenderTarget(class CVIBuffer_Rect* pVIBuffer, class CShader* pShader, const _wstring& wstrRenderTargetInput, const _wstring& wstrRenderTargetOutput, SHADER_PASS_DEFERRED ePass);
HRESULT Finish_RenderTarget(class CVIBuffer_Rect* pVIBuffer, class CShader* pShader, const _wstring& wstrRenderTargetOriginal, const _wstring& wstrRenderTargetBloomed, SHADER_PASS_DEFERRED ePass);
_float2 Get_RenderTargetSize(const _wstring& wstrRenderTargetOriginal);
#ifdef _DEBUG
public: