Searched refs:textureAttachment (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl_framebuffer.cpp | 132 auto textureAttachment = static_cast<const AttachmentTexture*>(attachment); in DoDetachment() local 135 GL_DEPTH_ATTACHMENT, textureAttachment->target, 0, textureAttachment->level); in DoDetachment() 137 GL_STENCIL_ATTACHMENT, textureAttachment->target, 0, textureAttachment->level); in DoDetachment() 140 attachment->attachment, textureAttachment->target, 0, textureAttachment->level); in DoDetachment() 265 auto textureAttachment = static_cast<const AttachmentTexture *>(attachedObject); in GetWebGLAttachmentInfo() local 267 textureAttachment->target, textureAttachment->level); in GetWebGLAttachmentInfo() 268 … info.format = texture->GetInternalFormat(textureAttachment->target, textureAttachment->level); in GetWebGLAttachmentInfo() 269 info.width = texture->GetWidth(textureAttachment->target, textureAttachment->level); in GetWebGLAttachmentInfo() 270 info.height = texture->GetHeight(textureAttachment->target, textureAttachment->level); in GetWebGLAttachmentInfo() 271 info.type = texture->GetType(textureAttachment->target, textureAttachment->level); in GetWebGLAttachmentInfo()
|