NvFlowContextD3D11


Data Structures

struct  NvFlowContextDescD3D11
struct  NvFlowDepthStencilViewDescD3D11
struct  NvFlowRenderTargetViewDescD3D11
struct  NvFlowResourceRWViewDescD3D11
struct  NvFlowResourceViewDescD3D11

Functions

NvFlowContext * NvFlowCreateContextD3D11 (NvFlowUint version, const NvFlowContextDescD3D11 *desc)
NvFlowDepthStencilView * NvFlowCreateDepthStencilViewD3D11 (NvFlowContext *context, const NvFlowDepthStencilViewDescD3D11 *desc)
NvFlowRenderTargetView * NvFlowCreateRenderTargetViewD3D11 (NvFlowContext *context, const NvFlowRenderTargetViewDescD3D11 *desc)
void NvFlowUpdateContextD3D11 (NvFlowContext *context, const NvFlowContextDescD3D11 *desc)
void NvFlowUpdateContextDescD3D11 (NvFlowContext *context, NvFlowContextDescD3D11 *desc)
void NvFlowUpdateDepthStencilViewD3D11 (NvFlowContext *context, NvFlowDepthStencilView *view, const NvFlowDepthStencilViewDescD3D11 *desc)
void NvFlowUpdateRenderTargetViewD3D11 (NvFlowContext *context, NvFlowRenderTargetView *view, const NvFlowRenderTargetViewDescD3D11 *desc)
void NvFlowUpdateResourceRWViewDescD3D11 (NvFlowContext *context, NvFlowResourceRW *resourceRW, NvFlowResourceRWViewDescD3D11 *desc)
void NvFlowUpdateResourceViewDescD3D11 (NvFlowContext *context, NvFlowResource *resource, NvFlowResourceViewDescD3D11 *desc)

Function Documentation

NvFlowContext* NvFlowCreateContextD3D11 ( NvFlowUint  version,
const NvFlowContextDescD3D11 desc 
)

Creates a graphics/compute context for Flow.

Parameters:
[in] version Should be set by app to NV_FLOW_VERSION.
[in] desc A graphics-API dependent structure containing data needed for a FlowContext to interoperate with the app.
Returns:
The created Flow context.

NvFlowDepthStencilView* NvFlowCreateDepthStencilViewD3D11 ( NvFlowContext *  context,
const NvFlowDepthStencilViewDescD3D11 desc 
)

Creates a Flow depth stencil view based on information provided by the application.

Parameters:
[in] context The Flow context to create and use the depth stencil view.
[in] desc The graphics API dependent description.
Returns:
The created Flow depth stencil view.

NvFlowRenderTargetView* NvFlowCreateRenderTargetViewD3D11 ( NvFlowContext *  context,
const NvFlowRenderTargetViewDescD3D11 desc 
)

Creates a Flow render target view based on information provided by the application.

Parameters:
[in] context The Flow context to create and use the render target view.
[in] desc The graphics API dependent description.
Returns:
The created Flow render target view.

void NvFlowUpdateContextD3D11 ( NvFlowContext *  context,
const NvFlowContextDescD3D11 desc 
)

Updates a Flow context with information provided by the application.

Parameters:
[in] context The Flow context to update.
[in] desc The graphics API dependent description.

void NvFlowUpdateContextDescD3D11 ( NvFlowContext *  context,
NvFlowContextDescD3D11 desc 
)

Gets a Flow context description from a Flow context.

Parameters:
[in] context The Flow context.
[out] desc The graphics API dependent description.

void NvFlowUpdateDepthStencilViewD3D11 ( NvFlowContext *  context,
NvFlowDepthStencilView *  view,
const NvFlowDepthStencilViewDescD3D11 desc 
)

Updates a Flow depth stencil view with information provided by the application.

Parameters:
[in] context The Flow context used to create the depth stencil view.
[in] view The Flow depth stencil view to update.
[in] desc The graphics API dependent description.

void NvFlowUpdateRenderTargetViewD3D11 ( NvFlowContext *  context,
NvFlowRenderTargetView *  view,
const NvFlowRenderTargetViewDescD3D11 desc 
)

Updates a Flow render target view with information provided by the application.

Parameters:
[in] context The Flow context used to create the render target view.
[in] view The Flow render target view to update.
[in] desc The graphics API dependent description.

void NvFlowUpdateResourceRWViewDescD3D11 ( NvFlowContext *  context,
NvFlowResourceRW *  resourceRW,
NvFlowResourceRWViewDescD3D11 desc 
)

Updates an application visible description with internal Flow resourceRW information.

Parameters:
[in] context The Flow context that created the resourceRW.
[in] resourceRW The Flow resourceRW to describe.
[out] desc The graphics API dependent Flow resourceRW description.

void NvFlowUpdateResourceViewDescD3D11 ( NvFlowContext *  context,
NvFlowResource *  resource,
NvFlowResourceViewDescD3D11 desc 
)

Updates an application visible description with internal Flow resource information.

Parameters:
[in] context The Flow context that created the resource.
[in] resource The Flow resource to describe.
[out] desc The graphics API dependent Flow resource description.