|
Returns a channel descriptor with format f and number of bits of each component x , y , z , and w . The cudaChannelFormatDesc is defined as:
where cudaChannelFormatKind is one of cudaChannelFormatKindSigned, cudaChannelFormatKindUnsigned, or cudaChannelFormatKindFloat.
- Parameters:
-
| x | - X component |
| y | - Y component |
| z | - Z component |
| w | - W component |
| f | - Channel format |
- Returns:
- Channel descriptor with format
f
- See also:
- cudaCreateChannelDesc (C++ API), cudaGetChannelDesc, cudaGetTextureReference, cudaBindTexture (C API), cudaBindTexture2D (C API), cudaBindTextureToArray (C API), cudaUnbindTexture (C API), cudaGetTextureAlignmentOffset (C API)
|