SLGL2DTextureProgram Class Reference

Inherits from SLGLProgram : NSObject
Declared in SLGL2DTextureProgram.h

Overview

2D 纹理绘制

  textureCoordinateBuilder

设置材质坐标计算接口

@property (nonatomic) TuSDKTextureCoordinateCropBuilder *textureCoordinateBuilder

Availability

3.1.2

Declared In

SLGL2DTextureProgram.h

  inputTextureSize

输入的图像大小

@property (nonatomic) CGSize inputTextureSize

Availability

v3.1.2

Declared In

SLGL2DTextureProgram.h

  inputRotation

输入方向

@property (nonatomic) LSQGPUImageRotationMode inputRotation

Availability

3.1.2

Declared In

SLGL2DTextureProgram.h

– drawTexture:

绘制 2D 纹理

- (void)drawTexture:(GLuint)texture

Parameters

texture

2D 纹理

Availability

v3.1.2

Declared In

SLGL2DTextureProgram.h