• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

PF_GET_PIXEL_DATA8 cannot get x y posision pixel?

Explorer ,
May 25, 2022 May 25, 2022

Copy link to clipboard

Copied

I'm trying to get output's x y position pixel by using PF_GET_PIXEL_DATA8 in function used in iterate.

 

The second parameter is a hint? I don't understand much.

TOPICS
SDK

Views

108

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 25, 2022 May 25, 2022

Copy link to clipboard

Copied

LATEST

honest to god, i don't understand it either. it seems to fetch the base address of an effect world's image buffer.

you can achieve the same doing (assuming you know the4 world type, and cast the correct pixel type):
PF_Pixel *p = (PF_Pixel*)effectWorld->data;

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines