◆ _flush()
◆ _initializeState()
- (bool) _initializeState |
|
|
|
|
implementation |
◆ _renderLine:video:length:scale:color:posX:posY:aligned:()
- (void) _renderLine: |
|
(const char *) |
msg |
video: |
|
(video_frame_info_t *) |
video |
length: |
|
(NSUInteger) |
length |
scale: |
|
(float) |
scale |
color: |
|
(vector_float4) |
color |
posX: |
|
(float) |
posX |
posY: |
|
(float) |
posY |
aligned: |
|
(unsigned) |
aligned |
|
|
| |
|
implementation |
◆ getGlyph:()
◆ getWidthForMessage:length:scale:()
- (int) getWidthForMessage: |
|
(const char *) |
msg |
length: |
|
(NSUInteger) |
length |
scale: |
|
(float) |
scale |
|
|
| |
◆ initWithDriver:fontPath:fontSize:()
- (instancetype) initWithDriver: |
|
(MetalDriver *) |
driver |
fontPath: |
|
(const char *) |
font_path |
fontSize: |
|
(unsigned) |
font_size |
|
|
| |
◆ renderMessage:video:params:()
◆ renderMessage:video:scale:color:posX:posY:aligned:()
- (void) renderMessage: |
|
(const char *) |
msg |
video: |
|
(video_frame_info_t *) |
video |
scale: |
|
(float) |
scale |
color: |
|
(vector_float4) |
color |
posX: |
|
(float) |
posX |
posY: |
|
(float) |
posY |
aligned: |
|
(unsigned) |
aligned |
|
|
| |
|
implementation |
◆ updateGlyph:()
◆ write_quad6()
+ (static INLINE void) write_quad6 |
|
(SpriteVertex *) |
pv |
|
|
(float) |
x |
|
|
(float) |
y |
|
|
(float) |
width |
|
|
(float) |
height |
|
|
(float) |
tex_x |
|
|
(float) |
tex_y |
|
|
(float) |
tex_width |
|
|
(float) |
tex_height |
|
|
(const vector_float4 *) |
color |
|
|
| |
|
implementation |
◆ _atlas
◆ _buffer
- (id<MTLBuffer>) _buffer |
|
protected |
◆ _capacity
◆ _context
◆ _driver
◆ _font_data
◆ _font_driver
◆ _offset
◆ _sampler
- (id<MTLSamplerState>) _sampler |
|
protected |
◆ _state
- (id<MTLRenderPipelineState>) _state |
|
protected |
◆ _stride
◆ _texture
- (id<MTLTexture>) _texture |
|
protected |
◆ _uniforms
◆ _vert
◆ _vertices
◆ atlas
The documentation for this class was generated from the following file: