mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-05 19:12:40 +08:00
NativePipeline external texture (#15946)
* NativePipeline external texture * fix lint. * fix format.
This commit is contained in:
@@ -140,7 +140,7 @@ void SimpleTexture::createTexture(gfx::Device *device) {
|
||||
}
|
||||
|
||||
auto textureCreateInfo = getGfxTextureCreateInfo(
|
||||
gfx::TextureUsageBit::SAMPLED | gfx::TextureUsageBit::TRANSFER_DST,
|
||||
gfx::TextureUsageBit::SAMPLED | gfx::TextureUsageBit::TRANSFER_DST | gfx::TextureUsageBit::COLOR_ATTACHMENT,
|
||||
getGFXFormat(),
|
||||
_mipmapLevel,
|
||||
flags);
|
||||
|
||||
Reference in New Issue
Block a user