#pragma once

#include <glad/glad.h>
#include <cuda_runtime.h>
#include <cuda_gl_interop.h>

/**
 * A texture that can be shared in CUDA and OpenGL.
 */

struct CudaGLImage {
    GLuint texture = 0;
    cudaGraphicsResource* cudaResource = nullptr;
    int width = 1024;
    int height = 1024;
};
