cuda.bindings._v2.driver.graphics_resource_get_mapped_mipmapped_array#

cuda.bindings._v2.driver.graphics_resource_get_mapped_mipmapped_array(
intptr_t resource,
) → intptr_t#

Get a mipmapped array through which to access a mapped graphics resource.

Returns in *p_mipmapped_array a mipmapped array through which the mapped graphics resource resource. The value set in *p_mipmapped_array may change every time that resource is mapped. If resource is not a texture then it cannot be accessed via a mipmapped array and CUDA_ERROR_NOT_MAPPED_AS_ARRAY is returned. If resource is not mapped then CUDA_ERROR_NOT_MAPPED is returned.

Parameters:

resource (intptr_t) – Mapped resource to access.

Returns:

Returned mipmapped array through which resource may

be accessed.

Return type:

intptr_t

See also

cuGraphicsResourceGetMappedMipmappedArray