View Issue Details

IDProjectCategoryView StatusLast Update
0001426NoesisGUIC++ SDKpublic2019-03-19 08:25
Reporterrealesmedia Assigned Tojsantos  
PrioritynormalSeverityfeature 
Status assignedResolutionopen 
Summary0001426: Add D3D11Factory::WrapTexture from ID3D11ShaderResourceView*
Description

Ptr<Texture> D3D11Factory::WrapTexture(ID3D11ShaderResourceView* view, uint32_t width,
uint32_t height, uint32_t levels, TextureFormat::Enum format, bool isInverted)
{
return D3D11RenderDevice::WrapTexture(view, width, height, levels, format, isInverted);
}

class D3D11RenderDevice final: public Noesis::RenderDevice
{
public:
. . .

static Noesis::Ptr<Noesis::Texture> WrapTexture(ID3D11ShaderResourceView view,
uint32_t width, uint32_t height, uint32_t levels, Noesis::TextureFormat::Enum format, bool isInverted)
{
view->AddRef(); /// ?????
return
new D3D11Texture(view, width, height, levels, format, isInverted);
}

~D3D11Texture()
{
   DX_RELEASE(view); /// DX_DESTROY(view);
}
PlatformWindows

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-03-14 16:26 realesmedia New Issue
2019-03-19 08:25 sfernandez Assigned To => jsantos
2019-03-19 08:25 sfernandez Status new => assigned