Nebula
|
Namespaces | |
namespace | CoreGraphics |
Acceleration structures are used to enable ray tracing on the GPU by dividing the scene into a BVH. | |
Functions | |
ImageId | CoreGraphics::CreateImage (const ImageCreateInfoFile &info) |
create image from file path | |
ImageId | CoreGraphics::CreateImage (const ImageCreateInfoData &info) |
create image from data buffer | |
void | CoreGraphics::DestroyImage (const ImageId id) |
destroy image | |
ImageDimensions | CoreGraphics::ImageGetDimensions (const ImageId id) |
get image dimensions | |
const byte * | CoreGraphics::ImageGetBuffer (const ImageId id) |
get pointer to buffer | |
const byte * | CoreGraphics::ImageGetRedPtr (const ImageId id) |
get pointer to first element of red channel | |
const byte * | CoreGraphics::ImageGetGreenPtr (const ImageId id) |
get pointer to first element of green channel | |
const byte * | CoreGraphics::ImageGetBluePtr (const ImageId id) |
get pointer to first element of blue channel | |
const byte * | CoreGraphics::ImageGetAlphaPtr (const ImageId id) |
get pointer to first element if alpha channel | |
const SizeT | CoreGraphics::ImageGetPixelStride (const ImageId id) |
get pixel stride, using the above pointers makes it possible to get all reds, blues, greens, etc. | |
ImageChannelPrimitive | CoreGraphics::ImageGetChannelPrimitive (const ImageId id) |
get channel primitive | |
Variables | |
ImageAllocator | CoreGraphics::imageAllocator |