pub unsafe extern "C" fn hipGraphicsSubResourceGetMappedArray(
array: *mut hipArray_t,
resource: hipGraphicsResource_t,
arrayIndex: c_uint,
mipLevel: c_uint,
) -> hipError_t
Expand description
@brief Get an array through which to access a subresource of a mapped graphics resource.
@param [out] array - Pointer of array through which a subresource of resource may be accessed. @param [in] resource - Mapped resource to access. @param [in] arrayIndex - Array index for the subresource to access. @param [in] mipLevel - Mipmap level for the subresource to access.
@returns #hipSuccess, #hipErrorInvalidValue
@note In this API, the value of arrayIndex higher than zero is currently not supported.