Creates an array of textures directly from raw data, width and height and depth. This type of texture can only be used with a WebGL 2 rendering context.
The data argument must be an [link:https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView ArrayBufferView]. The properties inherited from [page:Texture] are the default, except magFilter and minFilter default to THREE.NearestFilter. The properties flipY and generateMipmaps are initially set to false.
The interpretation of the data depends on type and format: If the type is
THREE.UnsignedByteType, a Uint8Array will be useful for addressing the
texel data. If the format is THREE.RGBAFormat, data needs four values for
one texel; Red, Green, Blue and Alpha (typically the opacity).
For the packed types, THREE.UnsignedShort4444Type and
THREE.UnsignedShort5551Type all color components of one texel can be
addressed as bitfields within an integer element of a Uint16Array.
In order to use the types THREE.FloatType and THREE.HalfFloatType, the
WebGL implementation must support the respective extensions
OES_texture_float and OES_texture_half_float. In order to use
THREE.LinearFilter for component-wise, bilinear interpolation of the
texels based on these types, the WebGL extensions OES_texture_float_linear
or OES_texture_half_float_linear must also be present.
This creates a [name] where each texture has a different color.
// create a buffer with color data
const width = 512;
const height = 512;
const depth = 100;
const size = width * height;
const data = new Uint8Array( 4 * size * depth );
for ( let i = 0; i < depth; i ++ ) {
const color = new THREE.Color( Math.random(), Math.random(), Math.random() );
const r = Math.floor( color.r * 255 );
const g = Math.floor( color.g * 255 );
const b = Math.floor( color.b * 255 );
for ( let j = 0; j < size; j ++ ) {
const stride = ( i * size + j ) * 4;
data[ stride ] = r;
data[ stride + 1 ] = g;
data[ stride + 2 ] = b;
data[ stride + 3 ] = 255;
}
}
// used the buffer to create a [name]
const texture = new THREE.DataArrayTexture( data, width, height, depth );
texture.needsUpdate = true;
[example:webgl2_materials_texture2darray WebGL2 / materials / texture2darray] [example:webgl2_rendertarget_texture2darray WebGL2 / rendertarget / texture2darray]
See the base [page:Texture Texture] class for common properties.
Whether the texture is flipped along the Y axis when uploaded to the GPU. Default is `false`.
Whether to generate mipmaps (if possible) for the texture. Default is `false`.
Overridden with a object holding data, width, height, and depth.
Read-only flag to check if a given object is of type [name].
How the texture is sampled when a texel covers more than one pixel. The
default is [page:Textures THREE.NearestFilter], which uses the value of
the closest texel.
See the [page:Textures texture constants] page for details.
How the texture is sampled when a texel covers less than one pixel. The
default is [page:Textures THREE.NearestFilter], which uses the value of
the closest texel.
See the [page:Textures texture constants] page for details.
`1` by default. Specifies the alignment requirements for the start of each pixel row in memory. The allowable values are 1 (byte-alignment), 2 (rows aligned to even-numbered bytes), 4 (word-alignment), and 8 (rows start on double-word boundaries). See [link:https://registry.khronos.org/OpenGL-Refpages/es3.0/html/glPixelStorei.xhtml glPixelStorei] for more information.
This defines how the texture is wrapped in the depth direction.
The default is [page:Textures THREE.ClampToEdgeWrapping], where the edge
is clamped to the outer edge texels. The other two choices are
[page:Textures THREE.RepeatWrapping] and [page:Textures THREE.MirroredRepeatWrapping].
See the [page:Textures texture constants]
page for details.
See the base [page:Texture Texture] class for common methods.
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]


|
libcoap 4.3.1
|
Abstraction of virtual session that can be attached to coap_context_t (client) or coap_endpoint_t (server). More...
#include <coap_session_internal.h>
Data Fields | |
| int | ref |
| coap_proto_t | proto |
| protocol used More... | |
| coap_session_type_t | type |
| client or server side socket More... | |
| coap_session_state_t | state |
| current state of relationaship with peer More... | |
| unsigned | ref |
| reference count from queues More... | |
| size_t | tls_overhead |
| overhead of TLS layer More... | |
| size_t | mtu |
| path or CSM mtu (xmt) More... | |
| size_t | csm_rcv_mtu |
| CSM mtu (rcv) More... | |
| coap_addr_hash_t | addr_hash |
| Address hash for server incoming packets. More... | |
| UT_hash_handle | hh |
| coap_addr_tuple_t | addr_info |
| key: remote/local address info More... | |
| int | ifindex |
| interface index More... | |
| coap_socket_t | sock |
| socket object for the session, if any More... | |
| coap_endpoint_t * | endpoint |
| session's endpoint More... | |
| coap_context_t * | context |
| session's context More... | |
| void * | tls |
| security parameters More... | |
| uint16_t | tx_mid |
| the last message id that was used in this session More... | |
| uint8_t | con_active |
| Active CON request sent. More... | |
| uint8_t | csm_block_supported |
| CSM TCP blocks supported. More... | |
| coap_mid_t | last_ping_mid |
| the last keepalive message id that was used in this session More... | |
| coap_queue_t * | delayqueue |
| list of delayed messages waiting to be sent More... | |
| coap_lg_xmit_t * | lg_xmit |
| list of large transmissions More... | |
| coap_lg_crcv_t * | lg_crcv |
| Client list of expected large receives. More... | |
| coap_lg_srcv_t * | lg_srcv |
| Server list of expected large receives. More... | |
| size_t | partial_write |
| if > 0 indicates number of bytes already written from the pdu at the head of sendqueue More... | |
| uint8_t | read_header [8] |
| storage space for header of incoming message header More... | |
| size_t | partial_read |
| if > 0 indicates number of bytes already read for an incoming message More... | |
| coap_pdu_t * | partial_pdu |
| incomplete incoming pdu More... | |
| coap_tick_t | last_rx_tx |
| coap_tick_t | last_tx_rst |
| coap_tick_t | last_ping |
| coap_tick_t | last_pong |
| coap_tick_t | csm_tx |
| coap_dtls_cpsk_t | cpsk_setup_data |
| client provided PSK initial setup data More... | |
| coap_bin_const_t * | psk_identity |
| If client, this field contains the current identity for server; When this field is NULL, the current identity is contained in cpsk_setup_data. More... | |
| coap_bin_const_t * | psk_key |
| If client, this field contains the current pre-shared key for server; When this field is NULL, the current key is contained in cpsk_setup_data. More... | |
| coap_bin_const_t * | psk_hint |
| If client, this field contains the server provided identity hint. More... | |
| void * | app |
| application-specific data More... | |
| coap_fixed_point_t | ack_timeout |
| timeout waiting for ack (default 2.0 secs) More... | |
| coap_fixed_point_t | ack_random_factor |
| ack random factor backoff (default 1.5) More... | |
| uint16_t | max_retransmit |
| maximum re-transmit count (default 4) More... | |
| uint16_t | nstart |
| maximum concurrent confirmable xmits (default 1) More... | |
| coap_fixed_point_t | default_leisure |
| Mcast leisure time (default 5.0 secs) More... | |
| uint32_t | probing_rate |
| Max transfer wait when remote is not respoding (default 1 byte/sec) More... | |
| unsigned int | dtls_timeout_count |
| dtls setup retry counter More... | |
| int | dtls_event |
| Tracking any (D)TLS events on this sesison. More... | |
| uint8_t | csm_bert_rem_support |
| CSM TCP BERT blocks supported (remote) More... | |
| uint8_t | csm_bert_loc_support |
| CSM TCP BERT blocks supported (local) More... | |
| uint8_t | block_mode |
| Zero or more COAP_BLOCK_ or'd options. More... | |
| uint8_t | doing_first |
| Set if doing client's first request. More... | |
| uint8_t | proxy_session |
| Set if this is an ongoing proxy session. More... | |
| uint8_t | delay_recursive |
| Set if in coap_client_delay_first() More... | |
| uint8_t | no_observe_cancel |
| Set if do not cancel observe on session close. More... | |
| uint32_t | tx_rtag |
| Next Request-Tag number to use. More... | |
| uint64_t | tx_token |
| Next token number to use. More... | |
| coap_bin_const_t * | last_token |
| coap_bin_const_t * | echo |
| last token used to make a request More... | |
| coap_mid_t | last_ack_mid |
| The last ACK mid that has been been processed. More... | |
| coap_mid_t | last_con_mid |
| The last CON mid that has been been processed. More... | |
Abstraction of virtual session that can be attached to coap_context_t (client) or coap_endpoint_t (server).
Definition at line 5 of file cov_session_reference_model.c.
| coap_fixed_point_t coap_session_t::ack_random_factor |
ack random factor backoff (default 1.5)
Definition at line 129 of file coap_session_internal.h.
| coap_fixed_point_t coap_session_t::ack_timeout |
timeout waiting for ack (default 2.0 secs)
Definition at line 127 of file coap_session_internal.h.
| coap_addr_hash_t coap_session_t::addr_hash |
Address hash for server incoming packets.
Definition at line 58 of file coap_session_internal.h.
| coap_addr_tuple_t coap_session_t::addr_info |
key: remote/local address info
Definition at line 60 of file coap_session_internal.h.
| void* coap_session_t::app |
application-specific data
Definition at line 126 of file coap_session_internal.h.
| uint8_t coap_session_t::block_mode |
Zero or more COAP_BLOCK_ or'd options.
Definition at line 144 of file coap_session_internal.h.
| uint8_t coap_session_t::con_active |
Active CON request sent.
Definition at line 71 of file coap_session_internal.h.
| coap_context_t* coap_session_t::context |
session's context
Definition at line 67 of file coap_session_internal.h.
| coap_dtls_cpsk_t coap_session_t::cpsk_setup_data |
client provided PSK initial setup data
Definition at line 97 of file coap_session_internal.h.
| uint8_t coap_session_t::csm_bert_loc_support |
CSM TCP BERT blocks supported (local)
Definition at line 143 of file coap_session_internal.h.
| uint8_t coap_session_t::csm_bert_rem_support |
CSM TCP BERT blocks supported (remote)
Definition at line 142 of file coap_session_internal.h.
| uint8_t coap_session_t::csm_block_supported |
CSM TCP blocks supported.
Definition at line 72 of file coap_session_internal.h.
| size_t coap_session_t::csm_rcv_mtu |
CSM mtu (rcv)
Definition at line 57 of file coap_session_internal.h.
| coap_tick_t coap_session_t::csm_tx |
Definition at line 96 of file coap_session_internal.h.
| coap_fixed_point_t coap_session_t::default_leisure |
Mcast leisure time (default 5.0 secs)
Definition at line 135 of file coap_session_internal.h.
| uint8_t coap_session_t::delay_recursive |
Set if in coap_client_delay_first()
Definition at line 147 of file coap_session_internal.h.
| coap_queue_t* coap_session_t::delayqueue |
list of delayed messages waiting to be sent
Definition at line 75 of file coap_session_internal.h.
| uint8_t coap_session_t::doing_first |
Set if doing client's first request.
Definition at line 145 of file coap_session_internal.h.
| int coap_session_t::dtls_event |
Tracking any (D)TLS events on this sesison.
Definition at line 140 of file coap_session_internal.h.
| unsigned int coap_session_t::dtls_timeout_count |
dtls setup retry counter
Definition at line 139 of file coap_session_internal.h.
| coap_bin_const_t* coap_session_t::echo |
last token used to make a request
Echo value to send with next request
Definition at line 153 of file coap_session_internal.h.
| coap_endpoint_t* coap_session_t::endpoint |
session's endpoint
Definition at line 65 of file coap_session_internal.h.
| UT_hash_handle coap_session_t::hh |
Definition at line 59 of file coap_session_internal.h.
| int coap_session_t::ifindex |
interface index
Definition at line 61 of file coap_session_internal.h.
| coap_mid_t coap_session_t::last_ack_mid |
The last ACK mid that has been been processed.
Definition at line 154 of file coap_session_internal.h.
| coap_mid_t coap_session_t::last_con_mid |
The last CON mid that has been been processed.
Definition at line 156 of file coap_session_internal.h.
| coap_tick_t coap_session_t::last_ping |
Definition at line 94 of file coap_session_internal.h.
| coap_mid_t coap_session_t::last_ping_mid |
the last keepalive message id that was used in this session
Definition at line 73 of file coap_session_internal.h.
| coap_tick_t coap_session_t::last_pong |
Definition at line 95 of file coap_session_internal.h.
| coap_tick_t coap_session_t::last_rx_tx |
Definition at line 92 of file coap_session_internal.h.
| coap_bin_const_t* coap_session_t::last_token |
Definition at line 152 of file coap_session_internal.h.
| coap_tick_t coap_session_t::last_tx_rst |
Definition at line 93 of file coap_session_internal.h.
| coap_lg_crcv_t* coap_session_t::lg_crcv |
Client list of expected large receives.
Definition at line 79 of file coap_session_internal.h.
| coap_lg_srcv_t* coap_session_t::lg_srcv |
Server list of expected large receives.
Definition at line 82 of file coap_session_internal.h.
| coap_lg_xmit_t* coap_session_t::lg_xmit |
list of large transmissions
Definition at line 77 of file coap_session_internal.h.
| uint16_t coap_session_t::max_retransmit |
maximum re-transmit count (default 4)
Definition at line 131 of file coap_session_internal.h.
| size_t coap_session_t::mtu |
path or CSM mtu (xmt)
Definition at line 56 of file coap_session_internal.h.
| uint8_t coap_session_t::no_observe_cancel |
Set if do not cancel observe on session close.
Definition at line 148 of file coap_session_internal.h.
| uint16_t coap_session_t::nstart |
maximum concurrent confirmable xmits (default 1)
Definition at line 133 of file coap_session_internal.h.
| coap_pdu_t* coap_session_t::partial_pdu |
incomplete incoming pdu
Definition at line 91 of file coap_session_internal.h.
| size_t coap_session_t::partial_read |
if > 0 indicates number of bytes already read for an incoming message
Definition at line 89 of file coap_session_internal.h.
| size_t coap_session_t::partial_write |
if > 0 indicates number of bytes already written from the pdu at the head of sendqueue
Definition at line 84 of file coap_session_internal.h.
| uint32_t coap_session_t::probing_rate |
Max transfer wait when remote is not respoding (default 1 byte/sec)
Definition at line 137 of file coap_session_internal.h.
| coap_proto_t coap_session_t::proto |
protocol used
Definition at line 50 of file coap_session_internal.h.
| uint8_t coap_session_t::proxy_session |
Set if this is an ongoing proxy session.
Definition at line 146 of file coap_session_internal.h.
| coap_bin_const_t* coap_session_t::psk_hint |
If client, this field contains the server provided identity hint.
If server, this field contains the current hint for the client; When this field is NULL, the current hint is contained in context->spsk_setup_data
Value maintained internally
Definition at line 117 of file coap_session_internal.h.
| coap_bin_const_t* coap_session_t::psk_identity |
If client, this field contains the current identity for server; When this field is NULL, the current identity is contained in cpsk_setup_data.
If server, this field contains the client provided identity.
Value maintained internally
Definition at line 99 of file coap_session_internal.h.
| coap_bin_const_t* coap_session_t::psk_key |
If client, this field contains the current pre-shared key for server; When this field is NULL, the current key is contained in cpsk_setup_data.
If server, this field contains the client's current key.
Value maintained internally
Definition at line 108 of file coap_session_internal.h.
| uint8_t coap_session_t::read_header[8] |
storage space for header of incoming message header
Definition at line 87 of file coap_session_internal.h.
| unsigned coap_session_t::ref |
reference count from queues
Definition at line 54 of file coap_session_internal.h.
| int coap_session_t::ref |
Definition at line 6 of file cov_session_reference_model.c.
| coap_socket_t coap_session_t::sock |
socket object for the session, if any
Definition at line 62 of file coap_session_internal.h.
| coap_session_state_t coap_session_t::state |
current state of relationaship with peer
Definition at line 52 of file coap_session_internal.h.
| void* coap_session_t::tls |
security parameters
Definition at line 68 of file coap_session_internal.h.
| size_t coap_session_t::tls_overhead |
overhead of TLS layer
Definition at line 55 of file coap_session_internal.h.
| uint16_t coap_session_t::tx_mid |
the last message id that was used in this session
Definition at line 69 of file coap_session_internal.h.
| uint32_t coap_session_t::tx_rtag |
Next Request-Tag number to use.
Definition at line 150 of file coap_session_internal.h.
| uint64_t coap_session_t::tx_token |
Next token number to use.
Definition at line 151 of file coap_session_internal.h.
| coap_session_type_t coap_session_t::type |
client or server side socket
Definition at line 51 of file coap_session_internal.h.


aria-hidden="true"
, hidden
and display:none
tests
These tests are to determine how aria-hidden="true"
and hidden
attributes, as well as the display: none
CSS property are applied visually as well as how they are announced to screen readers.
The aria-hidden="true"
attribute
The following information should be visible on screen but not announced to screen readers.
.
Code
Green spider
The hidden
attribute
The following information should not be visible on screen and not announced to screen readers.
Yellow frog.
Code
Yellow frog
The display:none
CSS property/value
The following information should not be visible on screen and not announced to screen readers.
.
Code
Red wolf


{{/if}}
{{#if course.preferences.friends}}
If there is anyone you would like to work with, you can select them from this list.
Anyone missing? This list only shows students enrolled in this course. If your friends are missing from the list, you can check back later, add them and update your preferences.


Freshservice is bringing the party to London with Freshservice Beer o'Clock. Join us and some of the bestminds of the ITSM industry, for some rooftop beer and BBQ and some great ITSM talk - all on the house.
ENTER THEGIVEAWAY!
 WITH THE HASHTAG #FSBEEROCLOCK Tweet


@* * Copyright 2020 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @import config.AppConfig @()(implicit request: Request[_], messages: Messages, config: AppConfig) @mainContent = { @Messages("lbl.back")
@Messages("employmenthistory.mci.restricted.text")