cuGraphicsSubResourceGetMappedArray: Get an array through which to access a subresource of a...

Description Usage Arguments Value References See Also

Description

Returns an array through which the subresource of the mapped graphics resource resource which corresponds to array index arrayIndex and mipmap level mipLevel may be accessed. The value set may change every time that resource is mapped.

Usage

1
cuGraphicsSubResourceGetMappedArray(resource, arrayIndex, mipLevel)

Arguments

resource

Mapped resource to access

arrayIndex

Array index for array textures or cubemap face

mipLevel

Mipmap level for the subresource to access

Value

pArray

References

http://docs.nvidia.com/cuda/cuda-driver-api/index.html

See Also

cuGraphicsResourceGetMappedPointer


duncantl/RCUDA documentation built on May 15, 2019, 5:26 p.m.