Skip to main content

CUTexture

The CUTexture class is a CUDA-specific implementation of the Texture class, providing access to CUDA texture resources and memory management. It allows retrieval of the texture array and texture levels, along with details about its array format and channels. Additionally, the class provides access to shared memory for efficient interoperation with CUDA, enabling advanced texture handling in GPU-based applications.

#include <platform/TellusimTexture.h>

Inheritance

Constructors

CUTexture()

Methods

CUmipmappedArray getTextureArray() const
CUarray getTextureLevel(uint32_t index) const
uint32_t getArrayFormat() const
uint32_t getArrayChannels() const
CUexternalMemory getSharedMemory() const