Function ptex_sys::ffi::ptextexture_get_pixel
source · pub unsafe fn ptextexture_get_pixel(
cache: *const PtexTexture,
faceid: i32,
u: i32,
v: i32,
first_channel: i32,
num_channels: i32
) -> f32
Expand description
Get the pixel value for the specified PtexCache.
§Safety
This function must be called with a valid PtexTexture pointer.