cuda.bindings._v2.driver.graphics_resource_get_mapped_mipmapped_array#
- cuda.bindings._v2.driver.graphics_resource_get_mapped_mipmapped_array(
- intptr_t resource,
Get a mipmapped array through which to access a mapped graphics resource.
Returns in
*p_mipmapped_arraya mipmapped array through which the mapped graphics resourceresource. The value set in*p_mipmapped_arraymay change every time thatresourceis mapped. Ifresourceis not a texture then it cannot be accessed via a mipmapped array andCUDA_ERROR_NOT_MAPPED_AS_ARRAYis returned. Ifresourceis not mapped thenCUDA_ERROR_NOT_MAPPEDis returned.- Parameters:
resource (intptr_t) – Mapped resource to access.
- Returns:
- Returned mipmapped array through which
resourcemay be accessed.
- Returned mipmapped array through which
- Return type:
intptr_t
See also
cuGraphicsResourceGetMappedMipmappedArray