Functions
- Retrieves the back-end render target. If
Surfacehas no back-end render target,Noneis returned. - Retrieves the back-end texture. If
Surfacehas no back-end texture,Noneis returned. - Returns
Surfaceon GPU indicated by context. Allocates memory for pixels, based on the width, height, andcrate::ColorTypeinImageInfo. budgeted selects whether allocation for pixels is tracked by context.image_infodescribes the pixel format incrate::ColorType, and transparency incrate::AlphaType, and color matching incrate::ColorSpace. - Returns
Surfaceon GPU indicated by context that is compatible with the provided characterization. budgeted selects whether allocation for pixels is tracked by context.