Skip to content

LiteFX::Rendering::Backends::DirectX12RenderPass

Implements a DirectX 12 render pass.

Synopsis

Declared in <litefx/backends/dx12.hpp>

class [[dllimport, dllexport]] DirectX12RenderPass final
    : public RenderPass<DirectX12Queue, DirectX12FrameBuffer>

Base Classes

NameDescription
RenderPass<DirectX12Queue, DirectX12FrameBuffer>Represents a render pass.

Type Aliases

Member Functions

NameDescription
~DirectX12RenderPass [destructor] [virtual]Destructor
activeFrameBuffer [virtual]Returns the current frame buffer from of the render pass.
begin Begins the render pass.
commandBuffer [virtual]Returns a command buffer that can be currently used for recording multi-threaded commands in the render pass.
commandBuffers [virtual]Returns all command buffers, that can be currently used for recording multi-threaded commands in the render pass.
commandQueue [virtual]Returns the command queue, the render pass is executing on or nullptr, if the queue has already been released.
device Returns a reference of the device that provides this queue.
end [virtual]Ends the render pass.
hasPresentTarget [virtual]Returns true, if one of the render targets is used for presentation on a swap chain.
inputAttachment [virtual]Returns the input attachment at a location.
inputAttachmentSamplerBinding [virtual]Returns the binding point for input attachment samplers.
inputAttachments [virtual]Returns the input attachment the render pass is consuming.
renderTarget [virtual]Returns the render target mapped to the location provided by location.
renderTargets [virtual]Returns the list of render targets, the render pass renders into.
secondaryCommandBuffers [virtual]Returns the number of secondary command buffers the render pass stores for multi-threaded command recording.
viewMask [virtual]Returns the mask that identifies the views that are enabled during rendering.

Static Member Functions

NameDescription
create create overloads

Protected Member Functions

NameDescription
operator= Assignment operators

Friends

NameDescription
LiteFX::SharedObject::AllocatorAn allocator used to allocate the shared object.
LiteFX::Rendering::Backends::DirectX12RenderPassBuilderImplements the DirectX 12 RenderPassBuilder.
LiteFX::Rendering::Backends::DirectX12RenderPass::DirectX12RenderPassImpl
LiteFX::PimplPtrA smart pointer that manages an implementation instance for a public interface class.

See Also

DirectX12RenderPassBuilder