Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Attributes | List of all members
agora::rtc::TextureInfo Struct Reference

`#include <NGIAgoraVideoFrame.h>`

## Public Attributes
OPTIONAL_ENUM_CLASS | TextureType
OPTIONAL_ENUM_CLASS | EglContextType
TextureType | texture_type
EglContextType | context_type
void * | shared_context
int | texture_id
int64_t | fence_object
int | frame_buffer_id
float | transform_matrix [16]
RawPixelBuffer::Format | raw_data_format
uint8_t * | raw_data
int64_t | raw_data_size
int | raw_data_stride

## Detailed Description

This structure defines the video frame of texture type on Android

Note
  For technical preview, not supported for the moment. Use RawPixelBuffer instead.

## Member Data Documentation

## ◆ TextureType

OPTIONAL_ENUM_CLASS agora::rtc::TextureInfo::TextureType

Initial value:
{
kGlTextureOes,
kGlTexture2D,
}

## ◆ EglContextType

OPTIONAL_ENUM_CLASS agora::rtc::TextureInfo::EglContextType

Initial value:
{
kEglContext10,
kEglContext14,
}

## ◆ texture_type

TextureType agora::rtc::TextureInfo::texture_type

## ◆ context_type

EglContextType agora::rtc::TextureInfo::context_type

## ◆ shared_context

void* agora::rtc::TextureInfo::shared_context

## ◆ texture_id

int agora::rtc::TextureInfo::texture_id

## ◆ fence_object

int64_t agora::rtc::TextureInfo::fence_object

## ◆ frame_buffer_id

int agora::rtc::TextureInfo::frame_buffer_id

## ◆ transform_matrix

float agora::rtc::TextureInfo::transform_matrix[16]

## ◆ raw_data_format

RawPixelBuffer::Format agora::rtc::TextureInfo::raw_data_format

## ◆ raw_data

uint8_t* agora::rtc::TextureInfo::raw_data

## ◆ raw_data_size

int64_t agora::rtc::TextureInfo::raw_data_size

## ◆ raw_data_stride

int agora::rtc::TextureInfo::raw_data_stride