.. _program_listing_file_Source_Azura_RenderSystem_Inc_D3D12_D3D12ScopedShader.h: Program Listing for File D3D12ScopedShader.h ============================================ |exhale_lsh| :ref:`Return to documentation for file ` (``Source\Azura\RenderSystem\Inc\D3D12\D3D12ScopedShader.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #pragma once #include "Generic/Shader.h" #include "Log/Log.h" #include "D3D12/D3D12Core.h" #include #include "d3dx12.h" namespace Azura { namespace D3D12 { class D3D12ScopedShader final : public Shader { public: D3D12ScopedShader(const String& filePath, Memory::Allocator& shaderCodeAllocator, Log log); CD3DX12_SHADER_BYTECODE GetByteCode() const; private: Log log_D3D12RenderSystem; Containers::Vector m_byteCode; }; } // namespace D3D12 } // namespace Azura