|
@@ -13701,8 +13701,8 @@ return {
|
|
|
},
|
|
|
{
|
|
|
name = "newView",
|
|
|
- summary = "Create a texture view referencing this Texture.",
|
|
|
- description = "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 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.\n\nTexture 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:\n\n- Reinterpretation of texture contents. For example, a cubemap can be treated as\n an array texture.\n- Rendering to a particular image or mipmap level of a texture.\n- Binding a particular image or mipmap level to a shader.",
|
|
|
+ summary = "Create a texture view referencing a parent Texture.",
|
|
|
+ description = "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 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 layers and mipmap levels.\n\nTexture 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:\n\n- Reinterpretation of texture contents. For example, a cubemap can be treated as\n an array texture.\n- Rendering to a particular image or mipmap level of a texture.\n- Binding a particular image or mipmap level to a shader.",
|
|
|
key = "Texture:newView",
|
|
|
module = "lovr.graphics",
|
|
|
related = {
|