Class ShaderProfileExtractor

Inheritance Relationships

Base Type

Class Documentation

class ShaderProfileExtractor : public gpa::playback::CallableReceiver

Provides an interface for extracting shader profiling information from a range of Callables.

Public Functions

inline virtual ~ShaderProfileExtractor() = 0

Destroys this instance of ShaderProfilerExtractor.

virtual bool IsAvailable() const = 0

Gets a value indicating whether or not shader profiling is available.

Returns

Whether or not shader profiling is available

inline virtual void SetRequest(ProfileShaderRequestWithType const &request) = 0

Sets a ProfileShaderRequest to be processed the next time this ShaderProfileExtractor's Callable stream is executed.

virtual gpa::shader_profiler::ProfiledShaders GetResult() const = 0

Gets the ProfileShaderResult from the most recent ProfileShaderRequest.

Returns

The ProfileShaderResult from the most recent ProfileShaderRequest