#include <optix_types.h>
Public Attributes | |
CUdeviceptr | data |
unsigned int | width |
unsigned int | height |
unsigned int | rowStrideInBytes |
unsigned int | pixelStrideInBytes |
OptixPixelFormat | format |
Image descriptor used by the denoiser.
CUdeviceptr OptixImage2D::data |
Pointer to the actual pixel data.
OptixPixelFormat OptixImage2D::format |
Pixel format.
unsigned int OptixImage2D::height |
Height of the image (in pixels)
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.
unsigned int OptixImage2D::rowStrideInBytes |
Stride between subsequent rows of the image (in bytes).
unsigned int OptixImage2D::width |
Width of the image (in pixels)