neuray API Programmer's Manual

mi::neuraylib::IRender_target_cuda Class Reference

[Rendering and Picking]

Description

A render target which is specialized for rendering to CUDA device memory. Note that some render modes may not support this type of render target.

Public Member Functions

virtual const ICanvas_cudaget_canvas( Uint32 index) const =0
Returns a canvas by index. More...
virtual ICanvas_cudaget_canvas( Uint32 index) =0
Returns a canvas by index. More...

Member Functions

virtual const ICanvas_cuda* mi::​neuraylib::​IRender_target_cuda::get_canvas( Uint32 index) const [pure virtual]

Returns a canvas by index.

Parameters

index
The index of the requested canvas. Use mi::neuraylib::IRender_target_base::get_canvas_count() to inquire the number of canvases.

Returns

The requested canvas, or NULL if index is out of bounds.

virtual ICanvas_cuda* mi::​neuraylib::​IRender_target_cuda::get_canvas( Uint32 index) [pure virtual]

Returns a canvas by index.

Parameters

index
The index of the requested canvas. Use mi::neuraylib::IRender_target_base::get_canvas_count() to inquire the number of canvases.

Returns

The requested canvas, or NULL if index is out of bounds.