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

How to get color parameter in GPU acceleration?

Explorer ,
Mar 07, 2018 Mar 07, 2018

Copy link to clipboard

Copied

Hi, everyone!.

I hope you are doing well.

I am working on gpu acceleration now.

I am getting params following as:

bool displacementF = static_cast<bool>(GetParam(SHADOW_TYPE, inRenderParams->inClipTime).mBool;

int center_xF = GetParam(CCU_PT, inRenderParams->inClipTime).mPoint.x;

int center_yF = GetParam(CCU_PT, inRenderParams->inClipTime).mPoint.y;

...

but I am not sure how to get color parameter.

Is there any way to get it?

Regards,

Igor.

TOPICS
SDK

Views

521

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

correct answers 1 Correct answer

Adobe Employee , Mar 07, 2018 Mar 07, 2018

Hi Igor,

Color comes across as a single 64-bit value (so, four 8-bit color vals).

Cheers,

Zac

Votes

Translate

Translate
Adobe Employee ,
Mar 07, 2018 Mar 07, 2018

Copy link to clipboard

Copied

LATEST

Hi Igor,

Color comes across as a single 64-bit value (so, four 8-bit color vals).

Cheers,

Zac

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