Describes the shape of a CUDA memory segment.
Get/Set the width in pixels of the memory.
Get/Set the height in pixels of the memory.
Get/Set the number of color components per pixel of the memory.
numpy data type :
Get/Set the data type of each color component, as a numpy data type. E.g numpy.uint8, numpy.float32. Note that for uint8 data types, the channel ordering will be BGRA for 4 component textures. It will be RGBA however for other data types.
No operator specific methods.