IPixelBufferSource interface
이 콘텐츠는 아직 번역되지 않았습니다.
Exposes a lockable CPU-side pixel buffer that backends can upload to GPU resources.
public interface IPixelBufferSource : IRasterSourceMembers
Section titled “Members”| name | description |
|---|---|
| HasAlpha { get; } | Gets whether the buffer carries a meaningful alpha channel; false means every pixel is fully opaque by construction (JPEG decode, opaque PNG, 24-bit BMP), and the default is true. |
| IsPremultiplied { get; } | Gets whether the RGB channels are already multiplied by alpha; the default is false. |
| IsStreaming { get; } | Gets whether the producer updates the buffer frequently (for example every video frame), letting consumers route through asynchronous upload paths; the default is false. |
| LockMode { get; } | Gets the mechanism by which Lock exposes the pixel buffer; the default is Direct. |
| StrideBytes { get; } | Gets the stride in bytes per row. |
| Lock() | Locks and returns the current pixel buffer snapshot. |
See Also
Section titled “See Also”- interface IRasterSource
- namespace Aprillz.MewUI.Resources