RWTexture2D::Load(int) function
Reads texture data.
Syntax
Load(
in int Location
);
Parameters
-
Location [in]
-
Type: int
The location of the texture.
Return value
Type:
The return type matches the type in the declaration for the RWTexture2D object.
Remarks
This function is supported for the following types of shaders:
Vertex | Hull | Domain | Geometry | Pixel | Compute |
---|---|---|---|---|---|
x | x |
See also