NVIDIA OptiX 7.7 nvidia_logo_transpbg.gif Up
OptixImage2D Struct Reference

#include <optix_types.h>

Public Attributes

CUdeviceptr data
 
unsigned int width
 
unsigned int height
 
unsigned int rowStrideInBytes
 
unsigned int pixelStrideInBytes
 
OptixPixelFormat format
 

Detailed Description

Image descriptor used by the denoiser.

See also
optixDenoiserInvoke(), optixDenoiserComputeIntensity()

Member Data Documentation

 data

CUdeviceptr OptixImage2D::data

Pointer to the actual pixel data.

 format

OptixPixelFormat OptixImage2D::format

Pixel format.

 height

unsigned int OptixImage2D::height

Height of the image (in pixels)

 pixelStrideInBytes

unsigned int OptixImage2D::pixelStrideInBytes

Stride between subsequent pixels of the image (in bytes). If set to 0, dense packing (no gaps) is assumed. For pixel format OPTIX_PIXEL_FORMAT_INTERNAL_GUIDE_LAYER it must be set to OptixDenoiserSizes::internalGuideLayerPixelSizeInBytes.

 rowStrideInBytes

unsigned int OptixImage2D::rowStrideInBytes

Stride between subsequent rows of the image (in bytes).

 width

unsigned int OptixImage2D::width

Width of the image (in pixels)