ResourceTypeLayoutShape

Experimental: The implementation may change or be removed.

Inherits: ShaderTypeLayoutShape < Resource

Description

Represents the shape of a resource type layout used within a ComputeShaderFile.

Properties

ComputeShaderResourceType

resource_type

0

RenderingDevice.UniformType

uniform_type

0


Enumerations

enum ComputeShaderResourceType: 🔗

ComputeShaderResourceType UNKNOWN = 0

Indicates that the type of resource is unknown, or is not needed to bind this data.

ComputeShaderResourceType RAW_BYTES = 1

Indicates that the resource is interpreted as raw bytes.


Property Descriptions

ComputeShaderResourceType resource_type = 0 🔗

The type of this resource.


RenderingDevice.UniformType uniform_type = 0 🔗

  • void set_uniform_type(value: RenderingDevice.UniformType)

  • RenderingDevice.UniformType get_uniform_type()

The uniform type of this resource.