LLGL 0.05 Beta
Loading...
Searching...
No Matches
LLGL::PipelineLayout Class Referenceabstract

Pipeline layout interface. More...

#include <PipelineLayout.h>

Inheritance diagram for LLGL::PipelineLayout:
LLGL::RenderSystemChild LLGL::Interface LLGL::NonCopyable

Public Member Functions

virtual std::uint32_t GetNumHeapBindings () const =0
 Returns the number of resource view heap bindings in this pipeline layout.
virtual std::uint32_t GetNumBindings () const =0
 Returns the number of resource bindings in this pipeline layout.
virtual std::uint32_t GetNumStaticSamplers () const =0
 Returns the number of static sampler states in this pipeline layout.
virtual std::uint32_t GetNumUniforms () const =0
 Returns the number of uniforms in this pipeline layout.
Public Member Functions inherited from LLGL::RenderSystemChild
virtual void SetDebugName (const char *name)
 Sets the name of this class instance for debugging purposes.
Public Member Functions inherited from LLGL::Interface
virtual bool IsInstanceOf (int id) const
 Returns true if this object is an instance of the specified interface.
Public Member Functions inherited from LLGL::NonCopyable
 NonCopyable (const NonCopyable &)=delete
NonCopyable & operator= (const NonCopyable &)=delete
virtual ~NonCopyable ()=default

Additional Inherited Members

Protected Member Functions inherited from LLGL::NonCopyable
 NonCopyable ()=default

Detailed Description

Pipeline layout interface.

Remarks
An instance of this interface provides a layout for resource binding in a graphics or compute pipeline.
See also
RenderSystem::CreatePipelineLayout
GraphicsPipelineDescriptor::pipelineLayout
ResourceHeapDescriptor::pipelineLayout

Member Function Documentation

◆ GetNumBindings()

virtual std::uint32_t LLGL::PipelineLayout::GetNumBindings ( ) const
pure virtual

Returns the number of resource bindings in this pipeline layout.

Remarks
This does not include the resource bindings for a ResourceHeap, i.e. PipelineLayoutDescriptor::heapBindings.
See also
PipelineLayoutDescriptor::bindings
CommandBuffer::SetResource

◆ GetNumHeapBindings()

virtual std::uint32_t LLGL::PipelineLayout::GetNumHeapBindings ( ) const
pure virtual

Returns the number of resource view heap bindings in this pipeline layout.

Remarks
This only includes the resource bindings for a ResourceHeap, i.e. PipelineLayoutDescriptor::heapBindings.
See also
PipelineLayoutDescriptor::heapBindings
ResourceHeap::GetNumDescriptorSets

◆ GetNumStaticSamplers()

virtual std::uint32_t LLGL::PipelineLayout::GetNumStaticSamplers ( ) const
pure virtual

Returns the number of static sampler states in this pipeline layout.

See also
PipelineLayoutDescriptor::staticSamplers

◆ GetNumUniforms()

virtual std::uint32_t LLGL::PipelineLayout::GetNumUniforms ( ) const
pure virtual

Returns the number of uniforms in this pipeline layout.

See also
PipelineLayoutDescriptor::uniforms

The documentation for this class was generated from the following file: