Add renderer backend feature reporting
This commit is contained in:
@@ -654,6 +654,16 @@ const char* RecordingRenderDevice::backend_name() const noexcept
|
||||
return "recording";
|
||||
}
|
||||
|
||||
RenderDeviceFeatures RecordingRenderDevice::features() const noexcept
|
||||
{
|
||||
return RenderDeviceFeatures {
|
||||
.explicit_texture_transitions = true,
|
||||
.texture_copy = true,
|
||||
.render_target_blit = true,
|
||||
.frame_capture = true,
|
||||
};
|
||||
}
|
||||
|
||||
pp::foundation::Result<std::unique_ptr<ITexture2D>> RecordingRenderDevice::create_texture(
|
||||
TextureDesc desc) noexcept
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user