SLGLYUVTextureProgram Class Reference

Inherits from SLGLProgram : NSObject
Declared in SLGLYUVTextureProgram.h

Overview

YUV 纹理绘制程序

  textureCoordinateBuilder

设置材质坐标计算接口

@property (nonatomic) TuSDKTextureCoordinateCropBuilder *textureCoordinateBuilder

Availability

3.1.2

Declared In

SLGLYUVTextureProgram.h

  inputTextureSize

输入的图像大小

@property (nonatomic) CGSize inputTextureSize

Availability

v3.1.2

Declared In

SLGLYUVTextureProgram.h

  inputRotation

输入方向

@property (nonatomic) LSQGPUImageRotationMode inputRotation

Availability

3.1.2

Declared In

SLGLYUVTextureProgram.h

– drawLuminanceTexture:chrominanceTexture:

绘制 YUV 纹理

- (void)drawLuminanceTexture:(GLuint)luminanceTexture chrominanceTexture:(GLuint)chrominanceTexture

Parameters

luminanceTexture

luminance 亮度纹理

chrominanceTexture

chrominance 色度纹理

Availability

v3.1.2

Declared In

SLGLYUVTextureProgram.h