commit
This commit is contained in:
@@ -116,6 +116,13 @@ void CComputeShader::Bind_OutPut_SRV(_uint iIndex, _uint iBufferIndex)
|
||||
|
||||
}
|
||||
|
||||
void CComputeShader::Bind_OutPut_SRV_VS(_uint iIndex, _uint iBufferIndex)
|
||||
{
|
||||
m_pContext->VSSetShaderResources(iIndex, // 시작슬롯 번호
|
||||
1, // 버퍼 개수
|
||||
&m_pOutputSRV[iBufferIndex]); // 버퍼 시작 주
|
||||
}
|
||||
|
||||
ID3D11UnorderedAccessView* CComputeShader::GetOutputUAV(_uint iIndex) const
|
||||
{
|
||||
return m_pOutputUAV[iIndex];
|
||||
@@ -147,6 +154,8 @@ vector<D3D11_MAPPED_SUBRESOURCE> CComputeShader::ReadBackOutputs()
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
void CComputeShader::Reset()
|
||||
{
|
||||
//다음 랜더링 패스에 연관되지 않도록 초기화
|
||||
|
||||
Reference in New Issue
Block a user