|
@@ -1,10 +1,10 @@
|
|
return {
|
|
return {
|
|
- summary = 'Create a texture view referencing this Texture.',
|
|
|
|
|
|
+ summary = 'Create a texture view referencing a parent Texture.',
|
|
description = [[
|
|
description = [[
|
|
Creates a new Texture view. A texture view does not store any pixels on its own, but instead
|
|
Creates a new Texture view. A texture view does not store any pixels on its own, but instead
|
|
uses the pixel data of a "parent" Texture object. The width, height, format, sample count, and
|
|
uses the pixel data of a "parent" Texture object. The width, height, format, sample count, and
|
|
usage flags all match the parent. The view may have a different `TextureType` from the parent,
|
|
usage flags all match the parent. The view may have a different `TextureType` from the parent,
|
|
- and it may reference a subset of the parent texture's images and mipmap levels.
|
|
|
|
|
|
+ and it may reference a subset of the parent texture's layers and mipmap levels.
|
|
|
|
|
|
Texture views can be used as render targets in a render pass and they can be bound to Shaders.
|
|
Texture views can be used as render targets in a render pass and they can be bound to Shaders.
|
|
They can not currently be used for transfer operations. They are used for:
|
|
They can not currently be used for transfer operations. They are used for:
|